public class DefaultScrollerViewProvider extends ScrollerViewProvider
| Constructor and Description |
|---|
DefaultScrollerViewProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBubbleOffset()
To offset the position of the bubble relative to the handle.
|
protected ViewBehavior |
provideBubbleBehavior() |
android.widget.TextView |
provideBubbleTextView()
Bubble view has to provide a
TextView that will show the index title. |
android.view.View |
provideBubbleView(android.view.ViewGroup container) |
protected ViewBehavior |
provideHandleBehavior() |
android.view.View |
provideHandleView(android.view.ViewGroup container) |
getBubbleBehavior, getContext, getHandleBehavior, getScroller, onHandleGrabbed, onHandleReleased, onScrollFinished, onScrollStarted, setFastScrollerpublic android.view.View provideHandleView(android.view.ViewGroup container)
provideHandleView in class ScrollerViewProvidercontainer - The container FastScroller for the view to inflate properly.FastScroller used as a handle.public android.view.View provideBubbleView(android.view.ViewGroup container)
provideBubbleView in class ScrollerViewProvidercontainer - The container FastScroller for the view to inflate properly.FastScroller used as a bubble.public android.widget.TextView provideBubbleTextView()
ScrollerViewProviderTextView that will show the index title.provideBubbleTextView in class ScrollerViewProviderTextView that will hold the index title.public int getBubbleOffset()
ScrollerViewProviderDefaultScrollerViewProvider
the sharp corner of the bubble is aligned with the center of the handle.getBubbleOffset in class ScrollerViewProviderprotected ViewBehavior provideHandleBehavior()
provideHandleBehavior in class ScrollerViewProviderprotected ViewBehavior provideBubbleBehavior()
provideBubbleBehavior in class ScrollerViewProvider