Package-level declarations

Types

Link copied to clipboard
data class DpadGridSpacingDecoration(@Px val itemSpacing: Int, @Px val minEdgeSpacing: Int, @Px val maxEdgeSpacing: Int, @Px val perpendicularItemSpacing: Int) : DpadSpacingDecoration

An item decoration that applies a spacing to all sides of a view part of a grid.

Link copied to clipboard
data class DpadLinearSpacingDecoration(@Px val itemSpacing: Int, @Px val minEdgeSpacing: Int, @Px val maxEdgeSpacing: Int, @Px val perpendicularEdgeSpacing: Int) : DpadSpacingDecoration

An item decoration that applies a spacing to all sides of a view part of a Column or Row layout.

Link copied to clipboard

A base RecyclerView.ItemDecoration that checks if spacing should be applied for a given position using DpadSpacingLookup.

Link copied to clipboard

Checks if a decoration should be applied for a given RecyclerView.ViewHolder