Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Guide to Predictive Back
Search
Recruit
PRO
June 29, 2023
Business
0
540
The Guide to Predictive Back
2023/06/21 に、YUMEMI.grow Mobile #4 WWDC23, Google I/O 2023 報告会で発表した、石田の資料です。
Recruit
PRO
June 29, 2023
Tweet
Share
More Decks by Recruit
See All by Recruit
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
460
プロデザ! BY リクルート vol.18_リクルートのリサーチ実践組織「リサーチブーストコミュニティ」
recruitengineers
PRO
3
300
スマートフォン版サロンボードの 機能改善の土台づくり
recruitengineers
PRO
2
57
事業状況の大きな変化を乗り越えるためのAirレジ オーダーのアジャイル開発
recruitengineers
PRO
1
67
横断組織から見たリクルートのインフラの歴史と目指すべきクラウド活用像
recruitengineers
PRO
1
32
Datadog による 自己完結的アプリケーションモニタリング
recruitengineers
PRO
4
270
プロデザ! BY リクルートvol.17_『じゃらんnet』公式アプリの高速リニューアル事例を大公開
recruitengineers
PRO
6
200
自己完結な開発者組織を支える プラットフォーム作り
recruitengineers
PRO
3
320
検索エンジニアが考える、 生成AI時代の人間の付加価値とは
recruitengineers
PRO
3
150
Other Decks in Business
See All in Business
akippa株式会社 - 会社紹介資料
akippa
3
45k
Nstock 採用資料 / We are hiring
nstock
21
160k
3分でわかるDomuz(採用資料)
kimpachi_d
0
5.2k
社会変化兆候調査 vol.17 / 132 global changes in lifestyle 2024 vol.17
nozomi
1
200
Z_Venture_Capital採用_240417.pdf
zvc2022
0
200
アシスト 会社紹介資料
ashisuto_career
3
62k
LED TOKYO_会社説明資料
nishimuraryuma
0
590
NAGANO STARTUP STUDIO_ introduction
1romatsuhisa
0
380
おひさぽ ご説明資料
trinitytechnology
0
53k
多職種で実施したふりかえりで基本的なことに気付かされた/Basic key learnings from the pretests conducted in multiple professions
k_takashiro
2
270
TECH HIRE |「大胆なポジションの開発」によって ハイクラス人材を直接応募で4名採用できた話
trackrecords
PRO
0
390
もやもやを開きあうふり返りによって組織に生まれる変化とは/ふりかえりカンファレンス2024
chiemitaki
0
780
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Building an army of robots
kneath
300
41k
What's in a price? How to price your products and services
michaelherold
238
11k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
Into the Great Unknown - MozCon
thekraken
15
1k
[RailsConf 2023] Rails as a piece of cake
palkan
28
4k
Atom: Resistance is Futile
akmur
260
25k
Designing Experiences People Love
moore
136
23k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Transcript
The Guide to Predictive Back @maxfie1d Android Engineer, Recruit 1
Speaker いしだ なおと 石田 直人 (@maxfie1d) Android Engineer, Recruit 2
Agenda | 01 02 03 04 Android の「戻る」の歴史 Android 13
における Predictive Back Android 14 における Predictive Back デモ 3
Android の「戻る」の歴史 01 4
戻るボタン (ハードウェア) 戻るボタン (ソフトウェア) 戻るジェスチャ Predictive Back New! 5 from
Android 1.0 from Android 4.0 from Android 10 from Android 13+
Predictive Back ユーザーは「戻る」ジェスチャーによる移動先やそ の他の結果を完了前にプレビューできるため、現 在のビューで操作を続行するかそのまま留まる かを決定できるようになります。 6
Android 13 における Predictive Back 02 7
Android 13 の Predictive Back • Activity から Home 画面のみ
• カスタマイズは不可 8
Android 14 における Predictive Back 03 9
Android 14 の Predictive Back • 対応範囲: ◦ Activity から
Home 画面 ◦ Activity から Activity New! ◦ アプリ内 New! • カスタマイズ可能 New! • その他: Material 3, Fragment が対応予定 10
https://m3.material.io/ Bottom sheets Search Slide sheets 11
デモ 04 12 ⚠ 2023/6/7 リリースの activity:1.8.0-alpha05 で作成しています。 API は将来的に変更になる可能性があります。
1. AndroidManifest に android:enableOnBackInvokedCallback=”true” を 追加する https://developer.android.com/guide/navigation/predictive-back-gesture?hl=ja 13
2. OnBackPressedCallback に追加された handleOnBackProgressed を 実装する https://developer.android.com/about/versions/14/features/predictive-back 14
15 https://github.com/maxfie1d/predictive-back-sample
Resources • https://www.youtube.com/watch?v=Elpqr5xpLxQ • https://developer.android.com/guide/navigation/predictive-back-gesture?hl=ja • https://developer.android.com/about/versions/14/features/predictive-back • https://developer.android.com/design/ui/mobile/guides/patterns/predictive-back •
https://developer.android.com/jetpack/androidx/releases/fragment#1.7.0-alpha01 • https://developer.android.com/jetpack/androidx/releases/activity#1.8.0-alpha05 • https://m3.material.io/ 16
Thank you! @maxfie1d Android Engineer, Recruit 17