public void doScroll(String direction) {
Interpolator customInterpolator = PathInterpolatorCompat.create(0.445f, 0.050f, 0.550f, 0.950f);
if (direction.equals("up")) {
mRecyclerView.smoothScrollBy(0,(int) (-FullscreenActivity.scrollDistance * mRecyclerView.getHeight()),customInterpolator);
} else {
mRecyclerView.smoothScrollBy(0,(int) (+FullscreenActivity.scrollDistance * mRecyclerView.getHeight()),customInterpolator);
}
}
PopUpSetViewNew.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:OpenSongTablet
作者:
评论列表
文章目录