SnapHelper 源码解析
1.attachToRecyclerView
SnapHelper使用入口:attachToRecyclerView(),代码如下:
public void attachToRecyclerView(@Nullable RecyclerView recyclerView)
throws IllegalStateException {
if (mRecyclerView == recyclerView) {
return; // nothing t...
原创
2020-05-13 14:15:54 ·
250 阅读 ·
0 评论