Slices up your app!
summary
Explains how Android Slices live in the AndroidX library and are implemented as a ContentProvider that responds to URIs with code not XML, using the AndroidX DSL functions like list/header/grid; onBindSlice must return quickly and background refresh happens only after onSlicePinned is called then contentResolver.notifyChange updates displays; primary action required for a slice to show; Google ships an open‑source Slice Viewer to test different sizes; works back to API 19 so it renders on Pixel Android P and a Galaxy Nexus running KitKat.
AI-written summary · about
chapters (11)
- 0:00Start
- 5:08Decorate in Your Abs Manifest
- 6:16Gradle Dependency
- 7:16Writing Xml Layout Forms
- 10:42Sliders and Progress Bar
- 11:10Action Buttons
- 11:35Add Action
- 13:24How Do You Provide a Slice As Soon as Possible and at the Same Time Have Relevant Data
- 17:09Slice Viewer
- 17:35Display Mode
- 21:49Privacy
related talks
36mSlice It Up: Driving the user engagement outside your app
28mWant a Slice?
30mAndroid Slices: Searchify your app
25mSlice Your App: Inside Slices and How to build it
39mSlices and Actions - Everything You Need to Know to Start Using Them in Your App
24mAndroid Slices: Build interactive results for Google Search
46mSlices: What They’re Not Telling You
16mAndroid Slices best practices
