GridLayoutDivider

class GridLayoutDivider(context: Context)

A custom ItemDecoration that draws horizontal dividers between rows in a GridLayout. It intelligently skips drawing a divider after the very last row.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
fun draw(canvas: Canvas, parent: GridLayout)