-
- All Implemented Interfaces:
public interface OnboardingFragmentInterfaceMethods which Onboarding Fragment must implement.
-
-
Method Summary
Modifier and Type Method Description abstract voidsetListener(@NonNull() OnboardingFragmentListener listener)Set a listener for onboarding events. -
-
Method Detail
-
setListener
abstract void setListener(@NonNull() OnboardingFragmentListener listener)
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.
- Parameters:
listener- OnboardingFragmentListener instance
-
-
-
-