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
880
Android StudioのLiveTemplateの便利な使い方 / Android LiveTemplate Method
yshogo
0
1.3k
ZOZOの新規サービス 「FAANS」の開発 Android編/FAAN App Create on Android
yshogo
0
1.5k
PORT_Firebase___Algolia.pdf
yshogo
0
230
Flutter_meetup_tokyo__10.pdf
yshogo
0
5.9k
PORT Firebase x Flutter
yshogo
0
420
ZOZOTech meetup Frontend #10
yshogo
2
1.7k
flutter-meetup.pdf
yshogo
0
69
Potetochips #61
yshogo
1
530
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
It's Worth the Effort
3n
185
28k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
For a Future-Friendly Web
brad_frost
179
9.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
52k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Scaling GitHub
holman
459
140k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
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
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠