getItemDecorationAt

Returns an ItemDecoration previously added to this ViewPager2.

Return

the ItemDecoration at index position

Parameters

index

The index position of the desired ItemDecoration.

Throws