decorateUsing

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.

Parameters

view

the current view holder class which has been selected or deselected

isSelected

state of hte current item

drawableRes

drawable overlay