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.

Constructors

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

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

Properties

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