-
## 问题描述
瀑布流列表的Item高度会被分割线影响
将item_divider_vertical.xml的布局高度设为300px,添加分割线和不添加分割线,Item的高度不一样
## 期望结果
无论是否添加分割线都不影响Item的高度
## 如何复现
> 希望快速解决请Fork仓库复现问题并附上链接, 否则只能等有空才能排查
> 凭空猜测只会让问题晦涩难懂, 浪费本项…
-
## 问题描述
用了StaggeredGridLayoutManager的地方就是这里。但是没有复现出来
### 期望行为
## 如何复现
> 任何业务相关问题没有fork仓库复现问题一律无法解决, 凭空猜测只会让问题晦涩难懂, 大量耽误项目维护时间
## 截图
异常堆栈信息或者手机截图/视频(拖拽到输入框即可上传)
## 版本
- BR…
-
-
RecyclerView.ItemDecoration()
-
This is happening because all ItemDecorations are depending on the adapter position, which will be set to `RecyclerView.NO_POSITION` when items are removed.
We should instead use the layout positio…
-
报错信息:
> Task :app:xmlClassGuardRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:xmlClassGuardRelease'.
> End index (0) is less than s…
-
[com.abh80.smartedge.activities.MainActivity$ItemDecoration.onDraw(MainActivity.java:261), androidx.recyclerview.widget.RecyclerView.onDraw(RecyclerView.java:4494), android.view.View.draw(View.java:23…
-
`[com.abh80.smartedge.activities.MainActivity$ItemDecoration.onDraw(MainActivity.java:261), androidx.recyclerview.widget.RecyclerView.onDraw(RecyclerView.java:4494), android.view.View.draw(View.java:2…
-
我这边弄了分组的列表,固定了2组
这是我的代码
adapter = new MyAdapter(getContext(),list1,list2);
GroupedGridLayoutManager gridLayoutManager = new GroupedGridLayoutManager(getContext(), 2, roomDevicesAdapter){
…
-
when i try to scroll down on the main menu the app crashes
[com.abh80.smartedge.activities.MainActivity$ItemDecoration.onDraw(MainActivity.java:261), androidx.recyclerview.widget.RecyclerView.o…