public static interface SimpleEnableBehavior.Callback
To control in which enabled state view can be, you should override
isEnabled(int) and return boolean value.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(int position)
Returns true if the item at the specified position is clickable.
|
boolean isEnabled(int position)
IndexOutOfBoundsException
should be thrown in that case for fast failure.position - an index of the item.true if item is enabled, false otherwise.