See: Description
Interface | Description |
---|---|
OnboardingFragmentInterface |
Methods which both Onboarding Fragments must implement.
|
OnboardingFragmentListener |
Interface used by
OnboardingFragmentStandard and OnboardingFragmentCompat to dispatch events to the hosting Activity. |
Class | Description |
---|---|
OnboardingActivity |
Screen API
|
OnboardingFragmentCompat |
Component API
|
OnboardingFragmentStandard |
Component API
|
OnboardingPage |
The
OnboardingPage is used by the Onboarding Fragment to display an image and a short text. |
Contains the Activity and Fragments used for the Onboarding Screen.
The OnboardingActivity
is launched directly by the CameraActivity
. It can be configured by overriding Gini Vision Library app resources and/or by supplying the CameraActivity
with an ArrayList
of OnboardingPage
objects in the CameraActivity.EXTRA_IN_ONBOARDING_PAGES
extra.
To use the Component API you have to include the OnboardingFragmentStandard
or
the OnboardingFragmentCompat
in an Activity in your app (a
dedicated Activity is
recommended). To receive events from the Fragments your Activity must implement the OnboardingFragmentListener
interface.
The Onboarding Screen was designed as a semi-transparent overlay for the camera preview. Your Activity should be configured to be transparent and the Camera Fragment should not stop the camera when the onboarding is shown.