fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: State): Unit
Retrieve any offsets for the given item.
outRect
- Rect to receive the output.
view
- The child view to decorate
parent
- RecyclerView this ItemDecoration is decorating
state
- The current state of RecyclerView.
See Also