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.6k
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
640
Android StudioのLiveTemplateの便利な使い方 / Android LiveTemplate Method
yshogo
0
1k
ZOZOの新規サービス 「FAANS」の開発 Android編/FAAN App Create on Android
yshogo
0
1.3k
PORT_Firebase___Algolia.pdf
yshogo
0
220
Flutter_meetup_tokyo__10.pdf
yshogo
0
5.7k
PORT Firebase x Flutter
yshogo
0
370
ZOZOTech meetup Frontend #10
yshogo
2
1.6k
flutter-meetup.pdf
yshogo
0
51
Potetochips #61
yshogo
1
500
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
334
57k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Site-Speed That Sticks
csswizardry
0
28
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Being A Developer After 40
akosma
87
590k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
BBQ
matthewcrist
85
9.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
A designer walks into a library…
pauljervisheath
204
24k
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
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠