-
public abstract class LayoutHelperHelper class with properties that match the methods that can be overridden in the internal LinearLayoutManager. This is an abstract class instead of an interface so we can have default values for properties as we need to call
superfor properties that are not provided (null).
-
-
Field Summary
Fields Modifier and Type Field Description private final Function2<RecyclerView.State, IntArray, Unit>calculateExtraLayoutSpace
-
Constructor Summary
Constructors Constructor Description LayoutHelper()
-
Method Summary
Modifier and Type Method Description Function2<RecyclerView.State, IntArray, Unit>getCalculateExtraLayoutSpace()Calculates the amount of extra space (in pixels) that should be laid out by CalendarLayoutManager and stores the result in extraLayoutSpace. -
-
Method Detail
-
getCalculateExtraLayoutSpace
Function2<RecyclerView.State, IntArray, Unit> getCalculateExtraLayoutSpace()
Calculates the amount of extra space (in pixels) that should be laid out by CalendarLayoutManager and stores the result in extraLayoutSpace. [extraLayoutSpace0] should be used for the extra space at the top in a vertical calendar or left in a horizontal calendar, and extraLayoutSpace1 should be used for the extra space at the bottom in a vertical calendar or right in a horizontal calendar.
-
-
-
-