class RecyclerViewItemDecoration : ItemDecoration
Simple item decoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set. Support the grid and linear layout.
See Also
<init> |
Simple item decoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set. Support the grid and linear layout. RecyclerViewItemDecoration(spacingPx: Int) |
getItemOffsets |
Retrieve any offsets for the given item. fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: State): Unit |