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
810
JetpackCompose Slot APIs
mitohato14
June 27, 2021
Tweet
Share
More Decks by mitohato14
See All by mitohato14
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
1
330
アプリの復旧を早くしたい!
mitohato14
0
95
事業開発とコミュニティ活動
mitohato14
0
43
プレビューファーストUI開発
mitohato14
1
450
新米テックリードの試行錯誤.pdf
mitohato14
0
490
Start Jetpack Compose.pdf
mitohato14
0
370
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
42
2.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
It's Worth the Effort
3n
184
28k
Art, The Web, and Tiny UX
lynnandtonic
298
21k
Being A Developer After 40
akosma
91
590k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Adopting Sorbet at Scale
ufuk
76
9.4k
Six Lessons from altMBA
skipperchong
28
3.8k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
KATA
mclloyd
29
14k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
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