OnboardingPage

public class OnboardingPage implements Parcelable

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)
Create a new onboarding page with the desired string resource and drawable resource.

Functions

describeContents
Link copied to clipboard
int describeContents()
Internal use only.
getImageResId
Link copied to clipboard
int getImageResId()
getTextResId
Link copied to clipboard
int getTextResId()
isTransparent
Link copied to clipboard
boolean isTransparent()
Internal use only.
shouldRotateImageForLandscape
Link copied to clipboard
boolean shouldRotateImageForLandscape()
Internal use only.
writeToParcel
Link copied to clipboard
void writeToParcel(Parcel dest, int flags)
Internal use only.

Properties

CREATOR
Link copied to clipboard
public final static Parcelable.Creator<OnboardingPageCREATOR
Internal use only.