onDrawOver

open fun onDrawOver(@NonNull c: @NonNull Canvas, @NonNull parent: @NonNull RecyclerView, @NonNull state: @NonNull RecyclerView.State)

Draw any appropriate decorations into the Canvas supplied to the RecyclerView. Any content drawn by this method will be drawn after the item views are drawn and will thus appear over the views.

Parameters

c

Canvas to draw into

parent

RecyclerView this ItemDecoration is drawing into

state

The current state of RecyclerView.


open fun onDrawOver(@NonNull c: @NonNull Canvas, @NonNull parent: @NonNull RecyclerView)

Deprecated

Override onDrawOver