Comments (1)
将 PagerGridLayoutManager 中的 预存储View 这段代码注释掉就可以了
// if (mOffsetX == 0 && mOffsetY == 0) {
// // 预存储View
// for (int i = 0; i < mOnePageSize; i++) {
// if (i >= getItemCount()) break; // 防止数据过少时导致数组越界异常
// View view = recycler.getViewForPosition(i);
// addView(view);
// measureChildWithMargins(view, mWidthUsed, mHeightUsed);
// }
// }
from pager-layoutmanager.
Related Issues (20)
- notifyItemRemoved(position)时,第一页的动画有问题
- 加载图片错乱
- Show float number of pages HOT 2
- recyclerview 嵌套在viewPager中如何处理滑动冲突
- 第一张效果图的圆点指示器是项目自带的吗? HOT 2
- 能解决下嵌套在ViewPager中的滑动冲突问题吗
- 您好 我之前用的这个库,现在build一直下载不下来 HOT 5
- 横向滚动如果页数过多,smoothScrollToPage 滑动到指定页面定位不准确
- 为什onBindViewHolder会被调用多次呢
- 用于网络请求的时候,每次一进来就调用多次加载怎么解决?
- 请教:怎么实现拖拽分页的效果? HOT 1
- 性能损耗很大 会掉帧
- 滚动下一页或者上一页会多次调用 onBindViewHolder
- notifyItemChanged刷新单个条目 HOT 4
- 能不能循环滚动,从第n页(最后页)右滑到第0页,貌似跟recycleview事件冲突
- Add a English Readme.MD.
- 欢迎试用PagerGridLayoutManager HOT 1
- 在我的项目中一个都不显示了 HOT 3
- 配合BaseRecyclerViewAdapterHelper 实现拖拽分页,item拖拽到边缘会连续快速切换到最后一页,无法实现定位到下一页 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pager-layoutmanager.