1. 首页
  2. 数据库
  3. 其它
  4. Scroller弹性滑动原理

Scroller弹性滑动原理

上传者: 2021-02-01 15:34:05上传 PDF文件 26.44KB 热度 5次
Scroller的典型使用方法: Scroller mScroller = new Scroller(mContext); private void smoothScrollTo(int destX, int destY) { int scrollX = getScrollX(); int scrollY = getScrollY(); int deltaX = destX - scrollX; int deltaY = destY - scrollY; mScroller.startScroll(scrollX, scrollY, deltaX, de
下载地址
用户评论