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.8k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
potetpchips#53
shogo.yamada
July 26, 2018
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
1.2k
Android StudioのLiveTemplateの便利な使い方 / Android LiveTemplate Method
yshogo
0
1.7k
ZOZOの新規サービス 「FAANS」の開発 Android編/FAAN App Create on Android
yshogo
0
1.7k
PORT_Firebase___Algolia.pdf
yshogo
0
250
Flutter_meetup_tokyo__10.pdf
yshogo
0
6.1k
PORT Firebase x Flutter
yshogo
0
480
ZOZOTech meetup Frontend #10
yshogo
2
1.8k
flutter-meetup.pdf
yshogo
0
99
Potetochips #61
yshogo
1
570
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
230
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
230
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Odyssey Design
rkendrick25
PRO
2
790
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
The Curious Case for Waylosing
cassininazir
1
490
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
450
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Are puppies a ranking factor?
jonoalderson
2
3.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
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
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠