Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

SliceViewManager.SliceCallback

public static interface SliceViewManager.SliceCallback

androidx.slice.SliceViewManager.SliceCallback


Class that listens to changes in Slices.

Summary

Public methods

abstract void onSliceUpdated(Slice s)

Called when slice is updated.

Public methods

onSliceUpdated

public abstract void onSliceUpdated (Slice s)

Called when slice is updated.

Parameters
s Slice: The updated slice.