LinearItemDecorator

class LinearItemDecorator(context: Context, val horizontalMargin: Float = 0.0f, val headersCount: Int = 0, @ColorRes val color: Int = R.color.color_linear_item_decorator) : RecyclerView.ItemDecoration

Constructors

Link copied to clipboard
constructor(context: Context, horizontalMargin: Float = 0.0f, headersCount: Int = 0, @ColorRes color: Int = R.color.color_linear_item_decorator)

Properties

Link copied to clipboard
val color: Int
Link copied to clipboard
val headersCount: Int = 0
Link copied to clipboard
Link copied to clipboard

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
open fun onDraw(@NonNull p0: Canvas, @NonNull p1: RecyclerView)
open override fun onDraw(c: Canvas, parent: RecyclerView, state: RecyclerView.State)
Link copied to clipboard