class RecyclerViewDivider : ItemDecorationUsed to draw a divider between RecyclerView's elements.
isSpace - true if the divider must be managed like a simple space.
drawableManager - instance of DrawableManager taken from Builder.
insetManager - instance of DrawableManager taken from Builder.
sizeManager - instance of SizeManager taken from Builder.
tintManager - instance of TintManager taken from Builder.
visibilityManager - instance of VisibilityManager taken from Builder.
class
Builder class for RecyclerViewDivider. |
|
interface
Used to provide a common configuration RecyclerViewDivider.Builder when a builder is created through RecyclerViewDivider.with. |
fun
Add this divider to a RecyclerView. |
|
fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: State): Unit |
|
fun onDraw(c: Canvas, parent: RecyclerView, state: State): Unit |
|
fun
Remove this divider from a RecyclerView. |
fun
Creates a new Builder for the current Context. The Builder instance will be provided by the application if it implements BuilderProvider. Otherwise, a new base instance will be created. |