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
90
Potetochips #61
yshogo
1
550
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Mobile First: as difficult as doing things right
swwweet
225
10k
Visualization
eitanlees
150
16k
Code Reviewing Like a Champion
maltzj
527
40k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
270
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
200
RailsConf 2023
tenderlove
30
1.3k
Odyssey Design
rkendrick25
PRO
0
450
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠