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
potetpchips#53
Search
shogo.yamada
July 26, 2018
1
1.7k
potetpchips#53
shogo.yamada
July 26, 2018
Tweet
Share
More Decks by shogo.yamada
See All by shogo.yamada
Jetpack ComposeへのリファクタリングのTIPS: CustomViewの便利な使い方 / Refactoring TIPS to Jetpack Compose: Useful usage of CustomView
yshogo
0
1k
Android StudioのLiveTemplateの便利な使い方 / Android LiveTemplate Method
yshogo
0
1.5k
ZOZOの新規サービス 「FAANS」の開発 Android編/FAAN App Create on Android
yshogo
0
1.6k
PORT_Firebase___Algolia.pdf
yshogo
0
250
Flutter_meetup_tokyo__10.pdf
yshogo
0
6k
PORT Firebase x Flutter
yshogo
0
450
ZOZOTech meetup Frontend #10
yshogo
2
1.8k
flutter-meetup.pdf
yshogo
0
88
Potetochips #61
yshogo
1
550
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
GraphQLとの向き合い方2022年版
quramy
50
14k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
The Spectacular Lies of Maps
axbom
PRO
1
400
Information Architects: The Missing Link in Design Systems
soysaucechin
0
720
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
31
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
99
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
32
Transcript
Cloud FirestoreͰͷ Client Side Joinʹ͍ͭͯ potetotips #53 Android @yshogo87
ࣗݾհ ɾ໊લɿshogo.yamada ɾTwitterɿ@yshogo87 ɾGithubɿ@yshogo ɾۀɿAndroidΞϓϦ։ൃ
FlutterΛ৮Γ·ͬͨ͘ͷͰݟΛެ։͢Δ IUUQTOPUFNVTIPHPZBNBEBOOBBCF
ࠓ͢͜ͱ Client Side Joinͷ֓ཁ ɾ Client Side Joinͷ࣮ํ๏ ɾ
͞ͳ͍͜ͱ Firebaseͱ ɾ Cloud Firestoreͱ ɾ No SQL ͱ ɾ
ʮClient Side Joinʯ is….. ʁʁʁ
Client Side Joinͷ֓ཁ FirestoreͰผίϨΫγϣϯͷ ใΛΫϥΠΞϯταΠυͰJoin͠ ͯը໘ʹදࣔ͢Δ͜ͱ
Client Side Joinͷ֓ཁ Ϣʔβʔ͕ॴଐ͍ͯ͠Δ άϧʔϓҰཡΛऔಘ
Client Side Joinͷ֓ཁ ϢʔβʔίϨΫγϣϯ
Client Side Joinͷ֓ཁ άϧʔϓίϨΫγϣϯ
Client Side Joinͷ֓ཁ ;ͨͭͷίϨΫγϣϯʹ૬ޓʹIDΛରԠ͓ͤͯ͘͞
Client Side Joinͷ֓ཁ Ϣʔβʔ͕ॴଐ͢ΔάϧʔϓIDҰཡΛऔಘ user/{userId}/group/{groupId}/group
Client Side Joinͷ֓ཁ άϧʔϓIDҰཡ͔Βը໘ʹදࣔ͢Δάϧʔϓ ใΛऔΓʹߦ͘ άϧʔϓIDҰཡ͔Βը໘ʹදࣔ͢Δ ͚ͩͷάϧʔϓใΛऔಘ͢Δ
Client Side Joinͷ֓ཁ ৄࡉใͱॻ͔Ε ͍ͯΔՕॴ͚ͩ Firestoreʹ ใΛऔಘ͠ʹ͍ ͘
Client Side Joinͷ࣮ํ๏ RecyclerViewʹGroupIdͷϦετΛ͢
Client Side Joinͷ࣮ํ๏ onBindViewHolderͷதͰGroupใΛऔಘ͢Δ
Client Side Joinͷ࣮ํ๏ https://qiita.com/superman9387/items/ 43c526b58175fa6cd35f
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠