SliceView.OnSliceActionListener


interface SliceView.OnSliceActionListener


Implement this interface to be notified of interactions with the slice displayed in this view.

See also
EventInfo

Summary

Public functions

Unit

Called when an interaction has occurred with an element in this view.

Public functions

onSliceAction

Added in 1.1.0-alpha02
fun onSliceAction(info: EventInfo, item: SliceItem): Unit

Called when an interaction has occurred with an element in this view.

Parameters
info: EventInfo

the type of event that occurred.

item: SliceItem

the specific item within the Slice that was interacted with.