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
JetpackCompose Slot APIs
Search
mitohato14
June 27, 2021
0
830
JetpackCompose Slot APIs
mitohato14
June 27, 2021
Tweet
Share
More Decks by mitohato14
See All by mitohato14
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
2
810
アプリの復旧を早くしたい!
mitohato14
0
98
事業開発とコミュニティ活動
mitohato14
0
46
プレビューファーストUI開発
mitohato14
1
460
新米テックリードの試行錯誤.pdf
mitohato14
0
490
Start Jetpack Compose.pdf
mitohato14
0
370
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.4k
Fireside Chat
paigeccino
37
3.5k
For a Future-Friendly Web
brad_frost
179
9.8k
The Invisible Side of Design
smashingmag
299
51k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
How to Ace a Technical Interview
jacobian
276
23k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Embracing the Ebb and Flow
colly
86
4.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
Transcript
Slot APIs in Jetpack Compose mito
Slot APIs • Composableͷ্ʹΧελϚΠζͷϨΠϠΛద༻͢Δύλʔϯ • ݟͨΛΧελϚΠζ͘͢͠ͳΔ • ࡉ͔͍ΧελϚΠζ༻ͷҾΛՃ͠ͳͯ͘ྑ͘ͳΔ • ϚςϦΞϧίϯϙʔωϯτͷComposableͰଟ༻͞Ε͍ͯΔ
ʹComposableΛͯΊΔ͜ͱ͕Ͱ͖ΔΠϝʔδ
TopAppBar composable https://developer.android.com/jetpack/compose/layout#slot-based-layouts
TopAppBar composable https://developer.android.com/jetpack/compose/layout#slot-based-layouts Slot Slot Slot
TopAppBar composable
TopAppBar composable
TopAppBar composable navigationIcon title actions
Usage
Usage
Other… • Scaffold • BottomAppBar • Button/IconButton • more…
Sca ff old
None
None
Sca ff old
Sca ff old
Conclusion • ComposableͷݟͨΛΧελϚΠζ͘͢͠ͳΔ • ఏڙ͞ΕͯΔComposableͷଟ͘ͰSlot͕༻ҙ͞Ε͍ͯΔ • ࣗ࡞ͷڞ௨ComposableͰSlot༻ҙ͢Δͱ٢
Reference • https://developer.android.com/jetpack/compose/layout#slot- based-layouts • https://developer.android.com/codelabs/jetpack-compose- layouts#3