RibbonTagItemDecoration

class RibbonTagItemDecoration(space: Int, orientation: Int) : RecyclerView.ItemDecoration

RibbonTagItemDecoration creates the space of RecyclerView by orientation align.

Constructors

RibbonTagItemDecoration
Link copied to clipboard
fun RibbonTagItemDecoration(space: Int, orientation: Int)

Functions

getItemOffsets
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)
onDraw
Link copied to clipboard
open fun onDraw(@NonNull p0: Canvas, @NonNull p1: RecyclerView)
open fun onDraw(@NonNull p0: Canvas, @NonNull p1: RecyclerView, @NonNull p2: RecyclerView.State)
onDrawOver
Link copied to clipboard
open fun onDrawOver(@NonNull p0: Canvas, @NonNull p1: RecyclerView)
open fun onDrawOver(@NonNull p0: Canvas, @NonNull p1: RecyclerView, @NonNull p2: RecyclerView.State)