SpaceDecoration

class SpaceDecoration(start: Int = 0, top: Int = 0, end: Int = 0, bottom: Int = 0) : RecyclerView.ItemDecoration

ItemDecoration that adds space around items.

Constructors

Link copied to clipboard
constructor(start: Int = 0, top: Int = 0, end: Int = 0, bottom: Int = 0)

Functions

Link copied to clipboard
open fun getItemOffsets(@NonNull p0: Rect, p1: Int, @NonNull p2: RecyclerView)
open override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
Link copied to clipboard
Link copied to clipboard