getItemDecorationAt

@NonNull
open fun getItemDecorationAt(index: Int): @NonNull RecyclerView.ItemDecoration

Returns an ItemDecoration previously added to this RecyclerView.

Return

the ItemDecoration at index position

Parameters

index

The index position of the desired ItemDecoration.

Throws