ListDividerItemDecoration
A RecyclerView.ItemDecoration that draws a divider between items in a list.
This decoration takes into account the padding of the divider drawable and the layout direction (RTL or LTR) to draw the divider correctly.
It also considers different view holder types (AppListItemViewHolder, FrameViewHolder, GroupTitleViewHolder) to determine whether a divider should be drawn and how it should be positioned.
Parameters
context
The context to use for accessing resources and styled attributes.