IndicatorContentProvider

An interface used by TtScrollBar, based on the scrolling position, to retrieve extra information. The scroll bar indicator, an extra view attached to TtScrollBar's parent view, is used to present this information.

Inheritors

Functions

Link copied to clipboard

Retrieves the ImageSource. If it returns null, no image information will be presented in the indicator. If both getStringResolver and getImageSource return a non-null value, the return value of getStringResolver will be adopted by TtScrollBar first.

Link copied to clipboard

Retrieves the StringResolver. If it returns null, no text information will be presented in the indicator. If both getStringResolver and getImageSource return a non-null value, the return value of getStringResolver will be adopted by TtScrollBar first.