Class DynamicFlexboxLayoutManager

java.lang.Object
androidx.recyclerview.widget.RecyclerView.LayoutManager
com.google.android.flexbox.FlexboxLayoutManager
com.pranavpandey.android.dynamic.support.recyclerview.widget.DynamicFlexboxLayoutManager
All Implemented Interfaces:
RecyclerView.SmoothScroller.ScrollVectorProvider

public class DynamicFlexboxLayoutManager extends com.google.android.flexbox.FlexboxLayoutManager
A FlexboxLayoutManager to fix RecyclerView issues.
  • Field Details

  • Constructor Details

    • DynamicFlexboxLayoutManager

      public DynamicFlexboxLayoutManager(Context context)
    • DynamicFlexboxLayoutManager

      public DynamicFlexboxLayoutManager(Context context, int flexDirection)
    • DynamicFlexboxLayoutManager

      public DynamicFlexboxLayoutManager(Context context, int flexDirection, int flexWrap)
    • DynamicFlexboxLayoutManager

      public DynamicFlexboxLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
  • Method Details

    • supportsPredictiveItemAnimations

      public boolean supportsPredictiveItemAnimations()
      Overrides:
      supportsPredictiveItemAnimations in class RecyclerView.LayoutManager
    • addView

      void addView(View arg0)
    • addView

      void addView(View arg0, int arg1)
    • removeAllViews

      void removeAllViews()
    • removeViewAt

      void removeViewAt(int arg0)
    • getPaddingTop

      int getPaddingTop()
    • getPaddingLeft

      int getPaddingLeft()
    • getPaddingRight

      int getPaddingRight()
    • getPaddingBottom

      int getPaddingBottom()
    • getPaddingStart

      int getPaddingStart()
    • getPaddingEnd

      int getPaddingEnd()