Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Jetpack Composeで拡大縮小、斜め方向のスクロールを実装する
Search
wcaokaze
April 06, 2023
Programming
610
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Jetpack Composeで拡大縮小、斜め方向のスクロールを実装する
wcaokaze
April 06, 2023
Transcript
38 slides
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
More Decks by wcaokaze
See All by wcaokaze
ブースアプリ開発裏話 〜pixivCanvasができるまで〜
wcaokaze
0
36
Compose時代に再検討するロードUIとその設計
wcaokaze
0
78
Composeのイベント地獄から脱出しよう! The Elm Architectureの導入にみる可能性
wcaokaze
0
160
Edge-to-Edge / WindowInsets との上手な付き合い方
wcaokaze
0
160
Other Decks in Programming
See All in Programming
The Cost of the DOM
ypresto
6
3.3k
SONY CISC-NEWS NWS-1750 + NWB-225 ハードウェアメンテとフレームバッファカラー対応 / KOF2026
tsutsui
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
450
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
390
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
650
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
240
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
120
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
570
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
Spec-driven Development with AI
simas
PRO
0
2.3k
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
520
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Site-Speed That Sticks
csswizardry
13
1.6k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
310
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Why Our Code Smells
bkeepers
PRO
340
58k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Balancing Empowerment & Direction
lara
6
1.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Scaling GitHub
holman
464
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
620