Package net.gini.android.vision.review

Contains the Activity and Fragments used for the Review Screen.

Screen API

Extending the ReviewActivity in your application has been deprecated. The preferred way of adding network calls to the Gini Vision Library is by creating a net.gini.android.vision.GiniVision instance with a net.gini.android.vision.network.GiniVisionNetworkService and a net.gini.android.vision.network.GiniVisionNetworkApi implementation.

Note:net.gini.android.vision.review.ReviewActivity extends androidx.appcompat.app.AppCompatActivity, therefore you have to use an AppCompat theme for your net.gini.android.vision.review.ReviewActivity subclass.

Component API

To use the Component API you have to include the net.gini.android.vision.review.ReviewFragmentStandard or the net.gini.android.vision.review.ReviewFragmentCompat in an Activity in your app (a dedicated Activity is recommended). To receive events from the Fragments your Activity must implement the net.gini.android.vision.review.ReviewFragmentListener interface.

Types

ReviewActivity
Link copied to clipboard
public class ReviewActivity extends AppCompatActivity implements ReviewFragmentListener, ReviewFragmentInterface
Screen API When you use the Screen API, the ReviewActivity displays the photographed or imported image and allows the user to review it by checking the sharpness, quality and orientation of the image.
ReviewFragmentCompat
Link copied to clipboard
public class ReviewFragmentCompat extends Fragment implements FragmentImplCallback, ReviewFragmentInterface
Component API When you use the Compontent API with the Android Support Library, the ReviewFragmentCompat displays the photographed or imported image and allows the user to review it by checking the sharpness, quality and orientation of the image.
ReviewFragmentInterface
Link copied to clipboard
public interface ReviewFragmentInterface
Methods which both Review Fragments must implement.
ReviewFragmentListener
Link copied to clipboard
public interface ReviewFragmentListener
Interface used by ReviewFragmentStandard and ReviewFragmentCompat to dispatch events to the hosting Activity.
ReviewFragmentStandard
Link copied to clipboard
public class ReviewFragmentStandard extends Fragment implements FragmentImplCallback, ReviewFragmentInterface
Component API When you use the Compontent API without the Android Support Library, the ReviewFragmentStandard displays the photographed or imported image and allows the user to review it by checking the sharpness, quality and orientation of the image.
RotatableImageViewContainer
Link copied to clipboard
public class RotatableImageViewContainer extends FrameLayout
Internal use only.
RotatableTouchImageViewContainer
Link copied to clipboard
public class RotatableTouchImageViewContainer extends RotatableImageViewContainer
Internal use only.