Class OnboardingPagerAdapter
java.lang.Object
androidx.viewpager.widget.PagerAdapter
androidx.fragment.app.FragmentStatePagerAdapter
com.microblink.blinkid.fragment.overlay.components.onboarding.OnboardingPagerAdapter
public class OnboardingPagerAdapter
extends androidx.fragment.app.FragmentStatePagerAdapter
-
Field Summary
Fields inherited from class androidx.fragment.app.FragmentStatePagerAdapter
BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT, BEHAVIOR_SET_USER_VISIBLE_HINT
Fields inherited from class androidx.viewpager.widget.PagerAdapter
POSITION_NONE, POSITION_UNCHANGED
-
Constructor Summary
ConstructorDescriptionOnboardingPagerAdapter
(androidx.fragment.app.FragmentManager fm, int behavior, String[] titles, String[] messages, int[][] imagesArray, int titleTextAppearance, int messageTextAppearance, int backgroundColor) OnboardingPagerAdapter
(androidx.fragment.app.FragmentManager fm, int behavior, String[] titles, String[] messages, int[] images, int titleTextAppearance, int messageTextAppearance, int backgroundColor) OnboardingPagerAdapter
(androidx.fragment.app.FragmentManager fm, String[] titles, String[] messages, int[][] imagesArray, int titleTextAppearance, int messageTextAppearance, int backgroundColor) OnboardingPagerAdapter
(androidx.fragment.app.FragmentManager fm, String[] titles, String[] messages, int[] images, int titleTextAppearance, int messageTextAppearance, int backgroundColor) -
Method Summary
Methods inherited from class androidx.fragment.app.FragmentStatePagerAdapter
destroyItem, finishUpdate, instantiateItem, isViewFromObject, restoreState, saveState, setPrimaryItem, startUpdate
Methods inherited from class androidx.viewpager.widget.PagerAdapter
destroyItem, finishUpdate, getItemPosition, getPageTitle, getPageWidth, instantiateItem, notifyDataSetChanged, registerDataSetObserver, setPrimaryItem, startUpdate, unregisterDataSetObserver
-
Constructor Details
-
OnboardingPagerAdapter
-
OnboardingPagerAdapter
-
OnboardingPagerAdapter
-
OnboardingPagerAdapter
-
-
Method Details
-
getItem
@NonNull public androidx.fragment.app.Fragment getItem(int position) - Specified by:
getItem
in classandroidx.fragment.app.FragmentStatePagerAdapter
-
getCount
public int getCount()- Specified by:
getCount
in classandroidx.viewpager.widget.PagerAdapter
-