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