ConfigurableDivider

class ConfigurableDivider(context: Context, orientation: Int = VERTICAL, var skipLastDivider: Boolean = false, var justBetweenSameType: Boolean = false) : RecyclerView.ItemDecoration

Constructors

Link copied to clipboard
constructor(context: Context, orientation: Int = VERTICAL, skipLastDivider: Boolean = false, justBetweenSameType: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets the orientation for this divider. This should be called if RecyclerView.LayoutManager changes orientation.

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