DpadSpacingDecoration
A base RecyclerView.ItemDecoration that checks if spacing should be applied for a given position using DpadSpacingLookup.
Subclasses should only be used for instances of DpadRecyclerView and not other RecyclerViews.
Inheritors
Functions
Link copied to clipboard
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State)
abstract fun getItemOffsets(outRect: Rect, view: View, layoutPosition: Int, parent: DpadRecyclerView, state: RecyclerView.State)
Link copied to clipboard
Link copied to clipboard
open fun onDrawOver(@NonNull p0: Canvas, @NonNull p1: RecyclerView, @NonNull p2: RecyclerView.State)
Link copied to clipboard