TtDividerItemDecoration
A divider used for RecyclerView.
Dividers are thin lines that separate content in a RecyclerView. A divider's orientation can be VERTICAL or HORIZONTAL. When the orientation is:
VERTICAL: the divider separates content in a vertical container. Hence the divider is drawn as a horizontal line.
HORIZONTAL: the divider separates content in a horizontal container. Hence the divider is drawn as a vertical line.
The default orientation of a divider is VERTICAL.
Parameters
The display context.
The attribute set provided in the layout XML file.
The default style attribute set.
The orientation of the divider.
Constructors
Properties
Should the last item in the RecyclerView been decorated or not.
The end inset of the divider.
The start inset of the divider.
The orientation of the divider.
The thickness of the divider.