Onboarding Page
The 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 OnboardingPage
objects as the EXTRA_IN_ONBOARDING_PAGES when starting the CameraActivity.
When using the Componenent API provide an java.util.ArrayList containing OnboardingPage
objects as the argument for the Onboarding Fragment factory method createInstance or 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
describe Contents
Link copied to clipboard
int describeContents()
Content copied to clipboard
Internal use only.
get Image Res Id
Link copied to clipboard
get Text Res Id
Link copied to clipboard
is Transparent
Link copied to clipboard
boolean isTransparent()
Content copied to clipboard
Internal use only.
should Rotate Image For Landscape
Link copied to clipboard
boolean shouldRotateImageForLandscape()
Content copied to clipboard
Internal use only.
write To Parcel
Link copied to clipboard
Internal use only.
Properties
CREATOR
Link copied to clipboard