Presenter

abstract class Presenter extends GiniVisionBasePresenter<OnboardingScreenContract.View> implements OnboardingFragmentInterface

Constructors

Presenter
Link copied to clipboard
void Presenter(Activity activity, OnboardingScreenContract.View view)

Functions

addEmptyLastPage
Link copied to clipboard
abstract void addEmptyLastPage()
getActivity
Link copied to clipboard
Activity getActivity()
onScrolledToPage
Link copied to clipboard
abstract void onScrolledToPage(int pageIndex)
setCustomPages
Link copied to clipboard
abstract 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.

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

Inheritors

OnboardingScreenPresenter
Link copied to clipboard