Multi Page Review Fragment
Component API
When you use the Compontent API and have enabled the multi-page feature, the {@code * 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 GiniCapture instance is required to use the
{@code MultiPageReviewFragment}
- Your Activity hosting this Fragment must extend the androidx.appcompat.app.AppCompatActivity and use an AppCompat Theme.
Include the {@code MultiPageReviewFragment}
into your layout by using the factory method to create an instance and display it using the androidx.fragment.app.FragmentManager .
A MultiPageReviewFragmentListener instance must be available until the {@code * 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.