VerticalSpaceItemDecoration

VerticalSpaceItemDecoration

class VerticalSpaceItemDecoration

Constructors

<init>

constructor(verticalSpaceHeight: Int)

Parameters

Name Description
verticalSpaceHeight: Int

Methods

getItemOffsets

fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)

Parameters

Name Description
outRect: Rect
view: View
parent: RecyclerView
state: RecyclerView.State

ReturnValue

Name Description
Unit