-
public interface ChannelActionA self-describing channel action that carries display info, capability requirements, and an execution handler. Works for swipe actions, options menus, and any future action surface.
-
-
Method Summary
Modifier and Type Method Description abstract ChannelgetChannel()abstract IntegergetIcon()abstract StringgetLabel()ConfirmationPopupgetConfirmationPopup()BooleangetIsDestructive()abstract Function0<Unit>getOnAction()-
-
Method Detail
-
getChannel
abstract Channel getChannel()
-
getIcon
@DrawableRes() abstract Integer getIcon()
-
getConfirmationPopup
ConfirmationPopup getConfirmationPopup()
-
getIsDestructive
Boolean getIsDestructive()
-
getOnAction
abstract Function0<Unit> getOnAction()
-
-
-
-