getStateList

abstract fun getStateList(id: Int): List<ButtonState>

Implements a getter for the state list associated with a given button.

Return

an empty list if no button state has been defined for the given button, a non-empty list otherwise.

Parameters

id

The given button resource id.