Class WrapContentLinearLayoutManager

  • All Implemented Interfaces:

    
    public class WrapContentLinearLayoutManager
    
                        

    Created by luck on 2017/12/4.

    RecyclerView Bug:IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter的解决方案 只是把这个异常捕获了,不让他奔溃了,这个问题的终极解决方案还是得让google去修复。

    • 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

      • WrapContentLinearLayoutManager

        WrapContentLinearLayoutManager(Context context)
      • WrapContentLinearLayoutManager

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

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