Multi Page Review Fragment
When you use the Compontent API and have enabled the multi-page feature, the
MultiPageReviewFragment
displays the photographed or imported images and allows the user to review them by checking the order, sharpness, quality and orientation of the images. The user can correct the order by dragging the thumbnails of the images and can also correct the orientation by rotating the images.
Important:
- A GiniVision instance is required to use the
MultiPageReviewFragment
- Your Activity hosting this Fragment must extend the androidx.appcompat.app.AppCompatActivity and use an AppCompat Theme.
Include the MultiPageReviewFragment
into your layout by using the createInstance factory method to create an instance and display it using the androidx.fragment.app.FragmentManager.
A MultiPageReviewFragmentListener instance must be available until the
MultiPageReviewFragment
is attached to an activity. Failing to do so will throw an exception. The listener instance can be provided either implicitly by making the hosting Activity implement the MultiPageReviewFragmentListener interface or explicitly by setting the listener using setListener.
Your Activity is automatically set as the listener in onCreate.
Customizing the Multi-Page Review Screen See the MultiPageReviewActivity for details.