public class HeaderBehaviorController extends VerticalIndicatorBehaviorController
mode, MODE_FOLLOW, MODE_FOLLOW_DOWN, MODE_FOLLOW_UP, MODE_STILLbehavior, mLoadListeners, mRefreshListeners, mScrollListeners, proxy| Constructor and Description |
|---|
HeaderBehaviorController(VerticalIndicatorBehavior behavior) |
| Modifier and Type | Method and Description |
|---|---|
int |
computeOffsetDeltaOnDependentViewChanged(CoordinatorLayout parent,
android.view.View child,
android.view.View dependency,
VerticalIndicatorBehavior behavior,
ScrollingContentBehavior contentBehavior) |
float |
consumeOffsetOnDependentViewChanged(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior,
ScrollingContentBehavior contentBehavior,
int currentOffset,
int offsetDelta) |
boolean |
isHiddenPartVisible(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior)
Tell if the hidden part of header view is visible.
|
int |
transformOffsetCoordinate(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior,
int currentOffset) |
setModeaddOnLoadListener, addOnRefreshListener, addOnScrollListener, copyRemainListeners, getBehavior, getProxy, hasOnLoadListeners, hasOnRefreshListeners, load, loadComplete, loadError, onPreScroll, onScroll, onStartScroll, onStopScroll, refresh, refreshComplete, refreshError, runOnUiThread, runWithView, setBehavior, setProxypublic HeaderBehaviorController(VerticalIndicatorBehavior behavior)
public int computeOffsetDeltaOnDependentViewChanged(CoordinatorLayout parent,
android.view.View child,
android.view.View dependency,
VerticalIndicatorBehavior behavior,
ScrollingContentBehavior contentBehavior)
computeOffsetDeltaOnDependentViewChanged in class VerticalIndicatorBehaviorControllerpublic int transformOffsetCoordinate(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior,
int currentOffset)
transformOffsetCoordinate in class VerticalIndicatorBehaviorControllerpublic float consumeOffsetOnDependentViewChanged(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior,
ScrollingContentBehavior contentBehavior,
int currentOffset,
int offsetDelta)
consumeOffsetOnDependentViewChanged in class VerticalIndicatorBehaviorControllerpublic boolean isHiddenPartVisible(CoordinatorLayout parent,
android.view.View child,
VerticalIndicatorBehavior behavior)
isHiddenPartVisible in class VerticalIndicatorBehaviorController