ReactionDrawable

class ReactionDrawable(inactiveDrawable: Drawable, activeDrawable: Drawable)

Contains drawables for normal and selected reaction states.

Parameters

inactiveDrawable

The drawable for the normal icon.

activeDrawable

The drawable for the selected state icon.

Constructors

Link copied to clipboard
constructor(inactiveDrawable: Drawable, activeDrawable: Drawable)

Functions

Link copied to clipboard
fun getDrawable(isActive: Boolean): Drawable