Android P Slices

Janice._.oooh·2021년 11월 24일
0

Android/Java

목록 보기
5/8
post-thumbnail

What is Slices?

https://developers.google.com/assistant/app
https://www.youtube.com/watch?v=vQALSeGy9aY


Implement

  1. Provider app : follow below guide to build it.
    https://github.com/android/user-interface-samples/releases

  2. Host app : Google has provided app 'Slice Viewer' for you to see your slice conveniently.

  3. Following the step to create slice
    1) Create the 'SliceProvider'
    2) Override functions to provide an associated URI to your slice
    3) Build your slice



Reference)

https://blog.novoda.com/android-p-slices-missing-documentation-part-1/
https://blog.novoda.com/android-p-slices-missing-documentation-part-2/
https://developer.android.com/guide/slices
https://github.com/android/user-interface-samples/releases

0개의 댓글