Package io.rong.imkit.picture.decoration
Class WrapContentLinearLayoutManager
-
- All Implemented Interfaces:
public class WrapContentLinearLayoutManagerCreated by luck on 2017/12/4.
RecyclerView Bug:IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter的解决方案 只是把这个异常捕获了,不让他奔溃了,这个问题的终极解决方案还是得让google去修复。
-
-
Constructor Summary
Constructors Constructor Description WrapContentLinearLayoutManager(Context context)WrapContentLinearLayoutManager(Context context, int orientation, boolean reverseLayout)WrapContentLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
Method Summary
Modifier and Type Method Description voidonLayoutChildren(Recycler recycler, State state)-
-
Constructor Detail
-
WrapContentLinearLayoutManager
WrapContentLinearLayoutManager(Context context)
-
WrapContentLinearLayoutManager
WrapContentLinearLayoutManager(Context context, int orientation, boolean reverseLayout)
-
WrapContentLinearLayoutManager
WrapContentLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
-
Method Detail
-
onLayoutChildren
void onLayoutChildren(Recycler recycler, State state)
-
-
-
-