Package 

Class ImageOnboardingIllustrationAdapter

    • Method Summary

      Modifier and Type Method Description
      Unit onVisible() Called when the illustration is visible.
      Unit onHidden() Called when the illustration is hidden.
      View onCreateView(ViewGroup container) Called when the custom view is required.
      Unit onDestroy() Called when the layout is destroyed.
      • Methods inherited from class net.gini.android.capture.onboarding.view.OnboardingIllustrationAdapter

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageOnboardingIllustrationAdapter

        ImageOnboardingIllustrationAdapter(Integer drawableRes, Integer contentDescriptionRes)
        Parameters:
        drawableRes - the id of a drawable resource
    • Method Detail

      • onVisible

         Unit onVisible()

        Called when the illustration is visible. If you use animations, then you can start the animation here.

      • onHidden

         Unit onHidden()

        Called when the illustration is hidden. If you use animations, then you can stop the animation here.

      • onCreateView

         View onCreateView(ViewGroup container)

        Called when the custom view is required. It will be injected into the SDK's layout.

        Parameters:
        container - the ViewGroup which will contain the returned view
      • onDestroy

         Unit onDestroy()

        Called when the layout is destroyed.