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
Jetpack Composeで拡大縮小、斜め方向のスクロールを実装する
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
wcaokaze
April 06, 2023
Programming
0
560
Jetpack Composeで拡大縮小、斜め方向のスクロールを実装する
wcaokaze
April 06, 2023
Tweet
Share
More Decks by wcaokaze
See All by wcaokaze
Composeのイベント地獄から脱出しよう! The Elm Architectureの導入にみる可能性
wcaokaze
0
110
Edge-to-Edge / WindowInsets との上手な付き合い方
wcaokaze
0
86
Other Decks in Programming
See All in Programming
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
630
CSC307 Lecture 01
javiergs
PRO
0
690
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
今から始めるClaude Code超入門
448jp
8
9.1k
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
230
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
440
AI巻き込み型コードレビューのススメ
nealle
2
1.3k
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
0
240
Typedesign – Prime Four
hannesfritz
42
3k
The agentic SEO stack - context over prompts
schlessera
0
650
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
190
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Bash Introduction
62gerente
615
210k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
470
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
210
Transcript
wcaokaze Jetpack ComposeͰ֦େॖখɺ ࣼΊํͷεΫϩʔϧΛ࣮͢Δ
ࣗݾհ • wcaokazeʢΘ͔͓͔ͥʣ • 20222݄ೖࣾ • Palcy Android
None
None
֦େॖখ͕ՄೳͳImageΛ࡞Δ
ZoomerͳͲଘࡏ͠ͳ͍
ZoomerΛ࡞Δ
Modi fi erΛड͚औΔ
֦େॖখδΣενϟʔΛݕ͢Δ
֦େॖখදࣔͤ͞Δ
εΫϩʔϧδΣενϟʔΛݕ͢Δ
εΫϩʔϧδΣενϟʔΛݕ͢Δ
εΫϩʔϧදࣔͤ͞Δ
ঢ়ଶϗϧμΛ༻ҙ͢Δ
ঢ়ଶϗϧμΛ༻ҙ͢Δ
ContentScaleΛ͑ΔΑ͏ʹ͢Δ
ContentScaleΛ͑ΔΑ͏ʹ͢Δ ImageͰΘΕ͍ͯΔͷ Fit None Crop FillBounds
μϒϧλοϓͰͷζʔϜΛ࣮͢Δ
μϒϧλοϓͰͷζʔϜΛ࣮͢Δ
NestedScrollΛ࣮͢Δ
Fling
FlingΛ࣮͢Δ
FlingΛ࣮͢Δ
FlingΛ࣮͢Δ
FlingΛ࣮͢Δ
ComposeͷεΫϩʔϧ Ұ࣍ݩ͔͠ఆ͍ͯ͠ͳ͍
ແཧΓೋ࣍ݩͷεΫϩʔϧΛ ࣮ݱ͢Δ
ࣼΊํΛࢦఆͰ͖ΔScrollableStateΛ࡞Δ
ࣼΊํΛࢦఆͰ͖ΔScrollableStateΛ࡞Δ
ࣼΊํΛࢦఆͰ͖ΔScrollableStateΛ࡞Δ
ൣғ֎ʹεΫϩʔϧͰ͖ͳ͘͢Δ
ZoomerState.scrollΛ࣮͢Δ
ZoomerState.scrollΛ࣮͢Δ
ZoomerState.scrollΛ࣮͢Δ 1. FlingͱDragͷҧ͍
ZoomerState.scrollΛ࣮͢Δ 1. FlingͱDragͷҧ͍
ZoomerState.scrollΛ࣮͢Δ
ZoomerState.scrollΛ࣮͢Δ
None