I have a pinned ItemDecoration
(a header section) added before first (top) child of the RecyclerView
.
When I scroll the RecyclerView
, first item goes behind the header section. Since the section is transparent it looks like that section and first item get overlapped.
How can I clip the RecyclerView
so that the overlapping does not happen?