Package 

Class OnboardingPage

  • All Implemented Interfaces:
    android.os.Parcelable

    
    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.

    • Constructor Detail

      • OnboardingPage

        OnboardingPage(int textResId, int imageResId)
        Create a new onboarding page with the desired string resource and drawable resource.
        Parameters:
        textResId - a string resource id which will be shown in the onboarding page
        imageResId - a drawable resource id which will be shown in the onboarding page