GridSpacingItemDecoration

Constructors

Link copied to clipboard
constructor(spanCount: Int, spacing: Int, includeEdge: Boolean)

Functions

Link copied to clipboard
open fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
Link copied to clipboard
open fun setSpacing(spacing: Int)
Link copied to clipboard
open fun setSpanCount(spanCount: Int)

Inherited functions

Link copied to clipboard
open fun getItemOffsets(outRect: Rect, itemPosition: Int, parent: RecyclerView)
Link copied to clipboard
open fun onDraw(c: Canvas, parent: RecyclerView, state: RecyclerView.State)
Link copied to clipboard
open fun onDrawOver(c: Canvas, parent: RecyclerView, state: RecyclerView.State)