Class FixedLinearLayoutManager

  • All Implemented Interfaces:

    
    public class FixedLinearLayoutManager
    
                        

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void onLayoutChildren(Recycler recycler, State state)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FixedLinearLayoutManager

        FixedLinearLayoutManager(Context context)
      • FixedLinearLayoutManager

        FixedLinearLayoutManager(Context context, int orientation, boolean reverseLayout)
      • FixedLinearLayoutManager

        FixedLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)