Onboarding Page
The {@code OnboardingPage}
is used by the Onboarding Fragment to display an image and a short text.
Use this class to show a different number of pages in the Onboarding Screen. Customizing the default onboarding pages can be done via overriding of app resources.
When using the Screen API set an java.util.ArrayList containing {@code OnboardingPage}
objects as the EXTRA_IN_ONBOARDING_PAGES when starting the CameraActivity.
When using the Componenent API provide an java.util.ArrayList containing {@code OnboardingPage}
objects as the argument for the Onboarding Fragment factory method createInstance.
Constructors
OnboardingPage
Link copied to clipboard
void OnboardingPage(@StringRes() int textResId, @DrawableRes() int imageResId)
Content copied to clipboard
Create a new onboarding page with the desired string resource and drawable resource.
Functions
describeContents
Link copied to clipboard
abstract int describeContents()
Content copied to clipboard
getImageResId
Link copied to clipboard
getTextResId
Link copied to clipboard
isTransparent
Link copied to clipboard
shouldRotateImageForLandscape
Link copied to clipboard
writeToParcel
Link copied to clipboard
Properties
CREATOR
Link copied to clipboard