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
複雑なステート管理をらくにするステートマシンを使ったアプローチ
Search
Tomoki Yamashita
December 22, 2022
Technology
0
970
複雑なステート管理をらくにするステートマシンを使ったアプローチ
モバイルアプリのステート管理に役立つステートマシンの紹介をします。
Tomoki Yamashita
December 22, 2022
Tweet
Share
More Decks by Tomoki Yamashita
See All by Tomoki Yamashita
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
210
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
360
Strong Skipping Modeをはじめよう
tomorrowkey
0
2.5k
あなたの知らないJetpackの世界 - DroidKaigi.collect { #7@Tokyo }
tomorrowkey
0
380
Auto Backupに対応する
tomorrowkey
0
200
これから始める秘匿情報との使い方
tomorrowkey
0
570
Other Decks in Technology
See All in Technology
GopherDay Taiwan 2024 - 利用 Gemini Pro 與 Golang 打造創新智能的 LINE Bot 應用
line_developers_tw
PRO
0
230
RAGのサービスをリリースして1年が経ちました
segavvy
3
1.3k
組織的なクラウド統制のはじめの一歩_20240529
yhana
0
400
Unity Catalog 技術ディープダイブ
databricksjapan
1
130
Custom Query で監視が捗った話 / Monitoring with Custom Query
akitok_
0
160
Nuxt DevTools 101
nozomuikuta
3
320
HeadlessなUIライブラリを利用する価値
plaidtech
PRO
7
1.8k
JAWS-UGの楽しみ方
schwrzktz
0
110
Databricksのご紹介
taka_aki
1
280
From Chaos to Clarity: The Power of Refactoring
zikriyeurkmez
0
110
Amazon RDS / Amazon Aurora パフォーマンスチューニングとモニタリング
twingob
4
410
.NET 8 New Features with Code Examples
_mertmetin
0
190
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
33
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.7k
Robots, Beer and Maslow
schacon
PRO
155
8k
The Brand Is Dead. Long Live the Brand.
mthomps
49
32k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
The World Runs on Bad Software
bkeepers
PRO
61
6.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
The Cost Of JavaScript in 2023
addyosmani
22
4k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Transcript
potatotips #80 - 2022.12.22 @tomorrowkey
/ STORES STORES <- <- Android @tomorrowkey
STORES
https://www.st.inc/news/2022-12-19-brandedapp-shopify
WebView
WebView (Native/HTML/Javascript ) WebView
WebView (Native/HTML/Javascript ) WebView
WebView viewDidLoad(), onCreate() API …
WebView viewDidLoad(), onCreate() API … Web Web API JavaScript
None
Web
None
None
Event.LoginPageShown Event.LoginPageShown Event.LoginScriptExecuted Event.TopPageShown Event.LoadingObserverLaunched Event.LoginPageShown Event.CheckInButtonClicked Event.CheckOutButtonClicked CheckInScriptExecuted Event.ClockShown
Event.ErrorShown Event.ClockShown State.Init State.WaitForLogin State.WaitForAuth State.WaitForLoadingObserverLaunch State.WaitForCheckIn State.WaitForCheckInScriptExecuted State.CheckInLoading State.ErrorShown
StateMachine.create { initialState(Init) state<Init> { on<LoginPageShown> { transitionTo(WaitForLogin) } }
state<WaitForLogin> { on<LoginPageShown> { transitionTo(WaitForLogin) } on<LoginScriptExecuted> { transitionTo(WaitForAuth) } } state<WaitForAuth> { on<TopPageShown> { transitionTo(WaitForLoadingObserver on<LoginPageShown> { transitionTo(WaitForLogin) } } state<WaitForLoadingObserverLaunch> { on<LoadingObserverLaunched> { transitionTo(WaitForChec Tinder/StateMachine
None
None