Default Banner Indicator
The default BannerXIndicator for BannerX
.
This indicator supports displaying Banner
titles and number of Banner
objects. However, this indicator shows either the indicator panels or number of Banner
objects but never both.
NOTE: The list of Banner
titles are not parceled during re-instantiation of this class, the updateTitleList must be manually invoked.
Author
IODevBlue
Since
1.0.0
Constructors
Functions
Apply a fade animation when the BannerXIndicator is idle to hide it.
Toggles the visibility of the TextView
displaying Banner
titles.
Get the View representation of the BannerXIndicator.
This is invoked by BannerX
when the current Banner
is being scrolled.
This is invoked when a new Banner
is selected by BannerX
.
Apply an animation to gradually display the BannerXIndicator when hidden.
Reset an existing BannerXIndicator instance to use the properties from the provided params object.
The Context object to be used internally by the BannerXIndicator implementation.
Validates if this BannerXIndicator supports displaying Banner
titles.
Updates the list of titles to be displayed by the indicator.
Properties
Enable or disable displaying number of banners on the DefaultBannerIndicator. It is disabled by default.
The background Drawable for the DefaultBannerIndicator.
Enable or disable a fade animation when the DefaultBannerIndicator is idle. Default: false
.
The time it takes for DefaultBannerIndicator to be visible when idle before it fades away.
Color applied to texts displayed by the DefaultBannerIndicator.
Text size applied to texts displayed by the DefaultBannerIndicator.
The Typeface applied to texts displayed by the DefaultBannerIndicator.
The background Drawable for the DefaultBannerIndicator's number indicator widget.
Use the properties stored in this IndicatorParams object to setup the BannerXIndicator instance.
Enable or disable the DefaultBannerIndicator from showing Banner titles. It is disabled by default