OnboardingItem

data class OnboardingItem(val imageSource: String?, val title: String?, val text: String?, val footer: String?, val customButtonTitle: String?, val termsButtonTitle: String?, val link: String?) : Parcelable

configuration for each page in the onboarding layout

Text body: title, text and footer display the text body. Each comes with a different size

Button:

  1. if only one button is set the button is set to fullscreen

  2. set up prevButtonTitle for backward navigation

  3. set up nextButtonTitle for forward navigation

  4. if page control is disabled set up prev and next button for backward and forward navigation

Terms button and link: Always set up both since the link is needed to navigate from the terms button

Constructors

Link copied to clipboard
constructor(imageSource: String?, title: String?, text: String?, footer: String?, customButtonTitle: String?, termsButtonTitle: String?, link: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val link: String?
Link copied to clipboard
Link copied to clipboard
val text: String?
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)