public interface LinkageScrollHandler
LinkageScrollLayout 提供的滚动处理实现接口| Modifier and Type | Method and Description |
|---|---|
boolean |
canScrollVertically(int direction)
是否可以垂直滚动
|
void |
flingContent(android.view.View target,
int velocityY)
fling(抛,快速滑动后产生的动作) target with a velocity(速度)
|
int |
getVerticalScrollExtent()
获取垂直滚动条的大小
|
int |
getVerticalScrollOffset()
获取垂直滚动条在垂直范围内的偏移
|
int |
getVerticalScrollRange()
获取垂直滚动条的滚动范围
|
boolean |
isScrollable()
子布局是否可滚动
|
void |
scrollContentToBottom()
滚动到底部
|
void |
scrollContentToTop()
滚动到顶部
|
void |
stopContentScroll(android.view.View target)
停止滚动
|
void flingContent(android.view.View target,
int velocityY)
target - velocityY - void scrollContentToTop()
void scrollContentToBottom()
void stopContentScroll(android.view.View target)
target - boolean canScrollVertically(int direction)
direction - boolean isScrollable()
int getVerticalScrollExtent()
int getVerticalScrollOffset()
int getVerticalScrollRange()