package

androidx.slice.widget

Interfaces

RowStyleFactoryFactory to return different styles for child views of a slice.
SliceLiveData.OnErrorListenerListener for errors when using SliceLiveData.fromStream(Context, InputStream, SliceLiveData.OnErrorListener).
SliceView.OnSliceActionListenerImplement this interface to be notified of interactions with the slice displayed in this view.
SliceViewPolicy.PolicyChangeListenerImplement this to find out about different view configuration changes.

Classes

ActionRow
EventInfoRepresents information associated with a logged event on SliceView.
GridContentExtracts information required to present content in a grid format from a slice.
GridContent.CellContentExtracts information required to present content in a cell.
GridRowView
ListContentExtracts information required to present content in a list format from a slice.
LocationBasedViewTrackerUtility class to track view based on relative location to the parent.
MessageView
RemoteInputViewHost for the remote input.
RemoteInputView.RemoteEditTextAn EditText that changes appearance based on whether it's focusable and becomes un-focusable whenever the user navigates away from it or it becomes invisible.
RowContentExtracts information required to present content in a row format from a slice.
RowStyleHolds style information shared between child views of a row
RowViewRow item is in small template format and can be used to construct list items for use with TemplateView.
ShortcutView
SliceActionViewSupports displaying SliceActionImpls.
SliceAdapter
SliceAdapter.SliceViewHolderA for presenting slices in SliceAdapter.
SliceAdapter.SliceWrapper
SliceChildViewBase class for children views of SliceView.
SliceContentBase class representing content that can be displayed.
SliceLiveDataClass with factory methods for creating LiveData that observes slices.
SliceLiveData.CachedSliceLiveDataImplementation of LiveData that provides controls over how cached vs live slices work.
SliceStyleHolds style information shared between child views of a slice
SliceViewA view for displaying Slices.
SliceViewPolicyClass containing configurable settings for SliceView that may impact interaction and contents of the slice that are displayed.
SliceViewUtilA bunch of utilities for slice UI.
TemplateView

Annotation Types

EventInfo.SliceActionType
EventInfo.SliceButtonPosition
EventInfo.SliceRowType
SliceLiveData.OnErrorListener.ErrorType
SliceView.SliceMode