ISelectionDecorator

A helper interface for applying decorations on sections for co.anitrend.arch.recycler.action.contract.ISupportSelectionMode.

This interface has a default implementation which can be overridden

Since

v1.3.0

Functions

Link copied to clipboard
open fun decorateUsing(view: View, isSelected: Boolean, @DrawableRes drawableRes: Int = co.anitrend.arch.theme.R.drawable.selection_frame)

Applies decorations on the selected or deselected item.