DividerItemDecoration

constructor(context: Context, orientation: Int)(source)

Creates a divider RecyclerView.ItemDecoration that can be used with a LinearLayoutManager.

Parameters

context

Current context, it will be used to access resources.

orientation

Divider orientation. Should be HORIZONTAL or VERTICAL.