Slices: What They’re Not Telling You
summary
Slices are structured data not remote views and are published by a content-style slice provider URI; creation uses the Kotlin slice builders KTX DSL or the Java API, and hosts render via slice view or custom code. A test host exists as the slice viewer app (APK on GitHub). Libraries run back to API level 19. Slices need a primary action and synchronous onBindSlice so caching or progress placeholders matter. Rendering and library version mismatches (alpha‑3 vs beta‑1) currently break images.
AI-written summary · about
chapters (9)
- 0:00Start
- 6:09Slice Providers
- 11:11Java Api
- 15:47Run Configurations
- 20:23Security Dialog
- 22:43Large Mode
- 28:20Grids
- 33:50Rendering Slices
- 44:53Compatibility
related talks
28mWant a Slice?
36mSlice It Up: Driving the user engagement outside your app
23mSlices up your app!
40mA Slice of Pie
25mSlice Your App: Inside Slices and How to build it
30mAndroid Slices: Searchify your app
24mAndroid Slices: Build interactive results for Google Search
39mSlices and Actions - Everything You Need to Know to Start Using Them in Your App
