Package ai.nexconn.chatui.widget
Class FixedLinearLayoutManager
-
- All Implemented Interfaces:
public class FixedLinearLayoutManagerWorkaround for a known RecyclerView bug: wraps LinearLayoutManager and catches IndexOutOfBoundsException in onLayoutChildren().
-
-
Constructor Summary
Constructors Constructor Description FixedLinearLayoutManager(Context context)FixedLinearLayoutManager(Context context, int orientation, boolean reverseLayout)FixedLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
Method Summary
Modifier and Type Method Description voidonLayoutChildren(Recycler recycler, State state)-
-
Constructor Detail
-
FixedLinearLayoutManager
FixedLinearLayoutManager(Context context)
-
FixedLinearLayoutManager
FixedLinearLayoutManager(Context context, int orientation, boolean reverseLayout)
-
FixedLinearLayoutManager
FixedLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
-
Method Detail
-
onLayoutChildren
void onLayoutChildren(Recycler recycler, State state)
-
-
-
-