public interface

SliceView.OnSliceActionListener

 androidx.slice.widget.SliceView.OnSliceActionListener

Overview

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

Summary

Methods
public voidonSliceAction(EventInfo info, SliceItem item)

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

Methods

public void onSliceAction(EventInfo info, SliceItem item)

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

Parameters:

info: the type of event that occurred.
item: the specific item within the Slice that was interacted with.