androidx.slice:slice-builders

Official Description: A set of builders to create templates using SliceProvider APIs

CommonsWare’s Notes

If your app wishes to publish slices for consumption by other apps, you will need this library as a dependency. This contains the builder classes for creating slices from standard templates, including ListBuilder, GridRowBuilder, and SliceAction.

See slice-core for resources related to displaying and publishing slices.

Documentation

Versions