Onboarding Screen
Bottom navigation bar
You can inject your own view for the bottom navigation bar if you set GiniCapture.newInstance().setBottomNavigationBarEnabled()
to true
and pass a custom OnboardingNavigationBarBottomAdapter
implementation to GiniCapture.Builder
:
OnboardingNavigationBarBottomAdapter customOnboardingNavigationBarBottomAdapter = new CustomOnboardingNavigationBarBottomAdapter();
GiniCapture.newInstance()
.setOnboardingNavigationBarBottomAdapter(customOnboardingNavigationBarBottomAdapter)
.build();
Custom onboarding pages
If you wish to show different onboarding pages, pass a list of OnboardingPage
objects to GiniCapture.Builder.setCustomOnboardingPages()
.
Custom illustration views
You can inject your own views for the illustrations. For example, if you want to animate the illustrations on the onboarding pages, implement the OnboardingIllustrationAdapter
interface to inject a view that can animate images (for example, Lottie) and pass it to the relevant onboarding illustration adapter setters (for example, setOnboardingAlignCornersIllustrationAdapter()
) when building the GiniCapture
instance. The reference documentation of GiniCapture.Builder
lists all the setters.