SliceView.OnSliceActionListener

public interface SliceView.OnSliceActionListener


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

See also
EventInfo

Summary

Public methods

abstract void

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

Public methods

onSliceAction

Added in 1.1.0-alpha02
abstract void onSliceAction(@NonNull EventInfo info, @NonNull SliceItem item)

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

Parameters
@NonNull EventInfo info

the type of event that occurred.

@NonNull SliceItem item

the specific item within the Slice that was interacted with.