public class DividerItemDecoration
extends RecyclerView.ItemDecoration
Modifier and Type | Class and Description |
---|---|
static interface |
DividerItemDecoration.Callback |
Constructor and Description |
---|
DividerItemDecoration(Context context,
DividerItemDecoration.Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
getItemOffsets(Rect outRect,
View view,
RecyclerView parent,
RecyclerView.State state) |
void |
onDraw(Canvas c,
RecyclerView parent,
RecyclerView.State state) |
public DividerItemDecoration(Context context, DividerItemDecoration.Callback callback)