Comments (8)
@giantbing 问题已经复现了,原因是Glide在加载图片时偶发导致了LayoutManager.onMeasure()->LayoutManager.onLayoutChildren()被调用。目前的解决方案请尝试先固定ImageView的宽高,或Glide加载时指定宽高,我将在下个版本修复这个问题。
from pagergridlayoutmanager.
请具体说明复现过程。
from pagergridlayoutmanager.
在adapter中使用了glide 加载网络图片时 可复现此问题
from pagergridlayoutmanager.
好的 我测试一下
from pagergridlayoutmanager.
from pagergridlayoutmanager.
我在recyclerView中指定了宽高,但是没有效果。仍然会复现此问题
from pagergridlayoutmanager.
不是RecyclerView的宽高,是item layout 中ImageView的宽高。可以看下GlideActivity。
from pagergridlayoutmanager.
fixed. v1.1.3
from pagergridlayoutmanager.
Related Issues (20)
- 使用多布局,其中一个布局用这个后滑动不过去会回弹 使用代码可以跳下一页 HOT 6
- 当 item 刷新的时候无法滚动,是用场景是列表的进度更新 HOT 5
- 如果要做成那种下一页漏出一点点,让用户知道还有下一页,该怎么做呢 HOT 1
- 设置clipToPadding=false后布局bug HOT 6
- 在viewpager中用rv的父布局是RelativeLayout的话会报RecyclerView's width and height must be exactly HOT 4
- 这个库 能实现 课程表 那种效果吗 ? HOT 2
- Rtl HOT 6
- 分页后每页都填充满 HOT 3
- 依赖不下来这个库 HOT 4
- 底部加上指示器就完美了 HOT 1
- 可以知道当前正在显示的元素是哪些吗 HOT 6
- 作者您好,垂直滚动的情况下,元素显示如何做到先从上到下,再从左到右呢? HOT 5
- item内使用网络图片会混乱
- oppo手机上滑动冲突处理不稳定 HOT 2
- clipChildren 问题 HOT 8
- 滑动的时候,报了一个空指针异常 HOT 1
- 还能实现分页加载吗 HOT 1
- 快速滑动时,onPagerIndexSelected只会回调一次 HOT 1
- MagicIndicator嵌套vp2 分页滚动会错乱 HOT 2
- 左右滑动的时候,偶然会出现一条多余的边框 HOT 6
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 pagergridlayoutmanager.