Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Slice my app

Slice my app

Talk given at the GDG Code d'Armor lunch meetup

Marc Poppleton

May 14, 2019
Tweet

More Decks by Marc Poppleton

Other Decks in Programming

Transcript

  1. • Icon button • Toggle button • Sliders and progress

    bars • Grids • Rows • Headers • “See more”… source : https://developer.android.com/guide/slice
  2. The app displaying Slices Your Slice Provider onBindSlice onSlicePinned background

    thread onSliceUnpinned “Ok, here the default slice!” notifyChange “Hey, I have a fresh slice for you, come get it!”
  3. Ask HappySession what’s the surf like at actions.intent.CHECK_WATERSPORTS_CONDITIONS <action intentName=“actions.intent.CHECK_WATERSPORTS_CONDITIONS">

    <fulfillment fulfillmentMode="actions.fulfillment.SLICE" urlTemplate=“content://foo.bar.slicesdemo/condition{?plage}”> </fulfillment> </action> content://foo.bar.slicesdemo/condition?plage=trestraou