OnboardingScreenPresenter

Created by Alpar Szotyori on 20.05.2019. Copyright (c) 2019 Gini GmbH.

class OnboardingScreenPresenter extends OnboardingScreenContract.Presenter

Constructors

OnboardingScreenPresenter
Link copied to clipboard

Functions

addEmptyLastPage
Link copied to clipboard
void addEmptyLastPage()
getActivity
Link copied to clipboard
Activity getActivity()
getPages
Link copied to clipboard
List<OnboardingPagegetPages()
onScrolledToPage
Link copied to clipboard
void onScrolledToPage(int pageIndex)
setCustomPages
Link copied to clipboard
void setCustomPages(List<OnboardingPagepages)
setListener
Link copied to clipboard

Set a listener for onboarding events.

By default the hosting Activity is expected to implement the OnboardingFragmentListener . In case that is not feasible you may set the listener using this method.

Note: the listener is expected to be available until the fragment is attached to an activity. Make sure to set the listener before that.

void setListener(OnboardingFragmentListener listener)
showNextPage
Link copied to clipboard
void showNextPage()
start
Link copied to clipboard
void start()
stop
Link copied to clipboard
void stop()