Package net.gini.android.capture.review

Contains the Activity and Fragments used for the Review Screen.

Screen API

The preferred way of adding network calls to the Gini Capture SDK is by creating a net.gini.android.capture.GiniCapture instance with a net.gini.android.capture.network.GiniCaptureNetworkService and a net.gini.android.capture.network.GiniCaptureNetworkApi implementation.

Component API

To use the Component API you have to include the net.gini.android.capture.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.capture.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 {@code 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 {@code * 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 Review Fragment must implement.
ReviewFragmentListener
Link copied to clipboard
public interface ReviewFragmentListener
Interface used by ReviewFragmentCompat to dispatch events to the hosting Activity.
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.