FixedLinearLayoutManager

RecyclerView官方的BUG,继承封装LinearLayoutManager类,重写onLayoutChildren()方法,try-catch捕获该异常

Constructors

Link copied to clipboard
public void FixedLinearLayoutManager(Context context)
public void FixedLinearLayoutManager(Context context, int orientation, boolean reverseLayout)
public void FixedLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Functions

Link copied to clipboard
public void onLayoutChildren(Recycler recycler, State state)