See: Description
Interface | Description |
---|---|
NoResultsFragmentListener |
Interface used by
NoResultsFragmentStandard and NoResultsFragmentCompat to dispatch events to the hosting Activity. |
Class | Description |
---|---|
NoResultsActivity |
Screen API
|
NoResultsFragmentCompat |
Component API
|
NoResultsFragmentStandard |
Component API
|
Contains the Activity and Fragments used for the No Results Screen. The No Results Screen includes hints on how to take a picture in an optimal condition. This screen should be shown when the received results from the Gini API don't include the required extractions.
The NoResultsActivity
is launched directly by the
AnalysisActivity
or the
ReviewActivity
, depending on where analysis results
were received.
Call AnalysisFragmentInterface.onNoExtractionsFound()
or
ReviewFragmentInterface.onNoExtractionsFound()
after you
received the results from the Gini API and it didn't include the required extractions.
To use the Component API you have to include the
NoResultsFragmentStandard
or
the NoResultsFragmentCompat
in an Activity in your app
(a dedicated Activity is
recommended). To receive events from the Fragments your Activity must implement the NoResultsFragmentListener
interface.