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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tomoki Yamashita
December 22, 2022
Technology
1.5k
0
Share
複雑なステート管理をらくにするステートマシンを使ったアプローチ
モバイルアプリのステート管理に役立つステートマシンの紹介をします。
Tomoki Yamashita
December 22, 2022
More Decks by Tomoki Yamashita
See All by Tomoki Yamashita
ハードウェア連携が必要なプロダクトにおける自動テストの書き方
tomorrowkey
0
95
STORES_決済端末2ってAndroidなんでしょ__ほんとうかな__.pdf
tomorrowkey
0
35
モバイルとRubyとわたし
tomorrowkey
0
48
BiDiってなんだ?
tomorrowkey
2
650
文字列操作の達人になる ~ Kotlinの文字列の便利な世界 ~ - Kotlin fest 2025
tomorrowkey
2
1.3k
Ebisu mobile #11 - Predictive Backに対応する
tomorrowkey
1
140
AI協同時代にモバイルエンジニアが備えるべき開発環境の話
tomorrowkey
2
420
5分で完全理解するNav3との向き合い方
tomorrowkey
0
210
テストを楽に書きたい
tomorrowkey
2
410
Other Decks in Technology
See All in Technology
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
170
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
400
ハーネスエンジニアリング×AI適応開発
aictokamiya
1
910
【Oracle Cloud ウェビナー】データ主権はクラウドで守れるのか?NTTデータ様のOracle Alloyで実現するソブリン対応クラウドの最適解
oracle4engineer
PRO
3
130
スケーリングを封じられたEC2を救いたい
senseofunity129
0
130
脳が溶けた話 / Melted Brain
keisuke69
1
1.1k
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
140
AI時代のIssue駆動開発のススメ
moongift
PRO
0
320
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
34
16k
OPENLOGI Company Profile for engineer
hr01
1
61k
20260326_AIDD事例紹介_ULSC.pdf
findy_eventslides
0
270
QA組織のAI戦略とAIテスト設計システムAITASの実践
sansantech
PRO
1
270
Featured
See All Featured
New Earth Scene 8
popppiees
2
1.9k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
The untapped power of vector embeddings
frankvandijk
2
1.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Building Flexible Design Systems
yeseniaperezcruz
330
40k
It's Worth the Effort
3n
188
29k
Docker and Python
trallard
47
3.8k
Context Engineering - Making Every Token Count
addyosmani
9
780
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
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