public class

AutoSpanGridLayoutManager

extends GridLayoutManager
java.lang.Object
   ↳ androidx.recyclerview.widget.RecyclerView.LayoutManager
     ↳ androidx.recyclerview.widget.LinearLayoutManager
       ↳ androidx.recyclerview.widget.GridLayoutManager
         ↳ com.sap.cloud.mobile.fiori.common.AutoSpanGridLayoutManager

Summary

Nested Classes
class AutoSpanGridLayoutManager.Builder  
class AutoSpanGridLayoutManager.GridLayoutSpanCalculator  
[Expand]
Inherited Constants
From class androidx.recyclerview.widget.GridLayoutManager
From class androidx.recyclerview.widget.LinearLayoutManager
Public Methods
Double getChildWidth()
int getSpanCount()
void onAttachedToWindow(RecyclerView view)
void onDetachedFromWindow(RecyclerView view, RecyclerView.Recycler recycler)
void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state)
void onMeasure(RecyclerView.Recycler recycler, RecyclerView.State state, int widthSpec, int heightSpec)
void setRemoveRecycleOnMeasurementChange(boolean removeRecycleOnMeasurementChange)
Set if the views should be removed and recycled when measurement changes
[Expand]
Inherited Methods
From class androidx.recyclerview.widget.GridLayoutManager
From class androidx.recyclerview.widget.LinearLayoutManager
From class androidx.recyclerview.widget.RecyclerView.LayoutManager
From class java.lang.Object
From interface androidx.recyclerview.widget.ItemTouchHelper.ViewDropHandler
From interface androidx.recyclerview.widget.RecyclerView.SmoothScroller.ScrollVectorProvider

Public Methods

public Double getChildWidth ()

public int getSpanCount ()

public void onAttachedToWindow (RecyclerView view)

public void onDetachedFromWindow (RecyclerView view, RecyclerView.Recycler recycler)

public void onLayoutChildren (RecyclerView.Recycler recycler, RecyclerView.State state)

public void onMeasure (RecyclerView.Recycler recycler, RecyclerView.State state, int widthSpec, int heightSpec)

public void setRemoveRecycleOnMeasurementChange (boolean removeRecycleOnMeasurementChange)

Set if the views should be removed and recycled when measurement changes