SpaceDecoration

Put spaces between items.

Parameters

spacing

The width of spaces.

Constructors

Link copied to clipboard
constructor(@Px spacing: Int)

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