SpanningLinearLayoutManager

SpanningLinearLayoutManager

class SpanningLinearLayoutManager

Fields

Name Description
val itemMinSize: Int

Constructors

<init>

constructor(context: Context, itemMinSize: Int)

Parameters

Name Description
context: Context
itemMinSize: Int

Methods

generateDefaultLayoutParams

fun generateDefaultLayoutParams(): RecyclerView.LayoutParams

ReturnValue

Name Description
RecyclerView.LayoutParams

generateLayoutParams

fun generateLayoutParams(c: Context, attrs: AttributeSet): RecyclerView.LayoutParams

Parameters

Name Description
c: Context
attrs: AttributeSet

ReturnValue

Name Description
RecyclerView.LayoutParams

generateLayoutParams

fun generateLayoutParams(lp: ViewGroup.LayoutParams): RecyclerView.LayoutParams

Parameters

Name Description
lp: ViewGroup.LayoutParams

ReturnValue

Name Description
RecyclerView.LayoutParams

canScrollVertically

fun canScrollVertically(): Boolean

ReturnValue

Name Description
Boolean

canScrollHorizontally

fun canScrollHorizontally(): Boolean

ReturnValue

Name Description
Boolean