Rotate pages dialog

In this document

The RotateDialogFragment dialog class allows users to rotate pages of the opened document by 90, 180 and 270 degrees, as well as displays the thumbnail of the current page at the selected rotation angle.

Show rotate page dialog

To create a new instance of the rotate pages dialog fragment, call newInstance() and set the PDFViewCtrl:

RotateDialogFragment.newInstance()
    .setPdfViewCtrl(pdfViewCtrl)
    .show(fragmentManager, "rotate_pages_dialog");
}