Package-level declarations

This package contains the default indicator and transformer for BannerX and also the classes for developing custom indicator and transformer implementations.

It contains these classes:

  • BannerTitleDisplayable

  • BannerXIndicator

  • BannerXTransformer

  • DefaultBannerIndicator

  • DefaultBannerTransformer

  • IndicatorParams

Author

IODevBlue © 2023

Since

v1.0.0

Types

Link copied to clipboard

Interface contract for BannerXIndicator classes that display Banner titles.

Link copied to clipboard
abstract class BannerXIndicator(val params: IndicatorParams?) : Parcelable

This class represents an animated indicator anchored at the bottom of BannerX to indicate the current Banner object.

Link copied to clipboard
abstract class BannerXTransformer : ViewPager2.PageTransformer, Parcelable

The base class for all Transformers provided for BannerX.

Link copied to clipboard
class DefaultBannerIndicator(context: Context? = null, val params: IndicatorParams? = null) : BannerXIndicator, BannerTitleDisplayable

The default BannerXIndicator for BannerX.

Link copied to clipboard

The default BannerXTransformer which provides generic horizontal movement between Banners.

Link copied to clipboard
data class IndicatorParams(var numberOfIndicatorPanels: Int = 0)

This class holds data and properties that can be shared among different BannerXIndicator implementations.