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
WearableRecyclerView
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
funnelbit
October 26, 2016
Technology
850
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WearableRecyclerView
funnelbit
October 26, 2016
More Decks by funnelbit
See All by funnelbit
Hatena Engineer Seminar #9
funnelbit
5
7.5k
droidkaigi-2017-renovation
funnelbit
10
11k
Dart
funnelbit
0
300
BottomBarAndSnackBar
funnelbit
0
550
Dagger2 Optional bindings
funnelbit
0
620
QucikSettingsTileAPI
funnelbit
0
390
Mobile Vision
funnelbit
0
490
AwarenessAPI
funnelbit
0
170
Asynchronous Injection
funnelbit
1
290
Other Decks in Technology
See All in Technology
GoにおけるFFIのこれまでとこれから
goccy
5
2.3k
Claude Code本って、 読む必要あるの?
oikon48
2
380
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
130
Webとヘルスデータ
yukukotani
1
370
When Does a Local Qwen Start to Break
morshoto
0
200
アリアドネの糸と、20年ごとの建て替え ── 長尾真『電子図書館』を、伊勢で読み直す / Rereading Makoto Nagao’s "Electronic Library" in Ise
ykiyota
0
150
Amazon Quick on DesktopがIAM Identity Centerで動かない理由
yukiogawa
0
160
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
4
960
【視聴者参加型!】AWSセキュリティアンチパターンクイズ
syoshie
1
490
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
160
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
160
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.4k
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Building Adaptive Systems
keathley
44
3.2k
Technical Leadership for Architectural Decision Making
baasie
3
560
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Crafting Experiences
bethany
1
310
The Invisible Side of Design
smashingmag
301
52k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
From π to Pie charts
rasagy
0
360
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
Transcript
8FBSBCMF 3FDZDMFS7JFX
ࣗݾհ ଜྋ גࣜձࣾͯͳ )BUFOBGVOOFMCJU 5XJUUFS!FYQFSPQFSP
ހʹͦͬͯஔ͢Δ 3FDZDMFS7JFX
None
8FBSBCMF 3FDZDMFS7JFX w ؙܕ8FBSBCMFσόΠεʹରԠͨ͠ 3FDZDMFS7JFX w 3FDZDMFS7JFXͷࢠΫϥε w ހʹͦͬͯεΫϩʔϧ͍ͯ͘͠ w
8FBSd
None
<android.support.wearable.view.WearableRecyclerView xmlns:android="http://schemas.android.com/apk/res/ android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/recycler_launcher_view" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical"/> 8FBSBCMF
3FDZDMFS7JFX
8FBSBCMF 3FDZDMFS7JFX mWearableRecyclerView.setAdapter(adapter);
None
0⒎TFUUJOH)FMQFS
0⒎TFUUJOH)FMQFS w JUFNͷP⒎TFUΛࢦఆͰ͖Δ public class CustomOffsettingHelper extends DefaultOffsettingHelper { @Override
public void updateChild(View child, WearableRecyclerView parent) { super.updateChild(child, parent); // Figure out % progress from top to bottom float centerOffset = ((float) child.getHeight() / 2.0f) / (float) parent.getHeight(); float yRelativeToCenterOffset = (child.getY() / parent.getHeight()) + centerOffset; // Normalize for center mProgressToCenter = Math.abs(0.5f - yRelativeToCenterOffset); // Adjust to the maximum scale mProgressToCenter = Math.min(mProgressToCenter, MAX_ICON_PROGRESS); child.setScaleX(1 - mProgressToCenter); child.setScaleY(1 - mProgressToCenter); }
$JSDVMBS4DSPMMJOH (FTUVSF
$JSDVMBS4DSPMMJOH(FTUVSF mWearableRecyclerView.setCircularScrollingGestu reEnabled(true); w ؙ͍εΫϩʔϦϯάΛ༗ޮʹ͢Δ
$JSDVMBS4DSPMMJOH(FTUVSF
$JSDVMBS4DSPMMJOH(FTUVSF mWearableRecyclerView.setScrollDegreesPerScreen (90); w εΫϩʔϧͷ߹͍ΛมߋͰ͖Δ
"ODIPS
w σϑΥϧτͰJUFNͷY ZJUFNͷߴ͞ ͷத৺
BEKVTU"ODIPS0⒎TFU9: public class CustomOffsettingHelper extends DefaultOffsettingHelper { … @Override
protected void adjustAnchorOffsetXY(View child, float[] anchorOffsetXY) { anchorOffsetXY[0] = child.getHeight() / 2.0f; } … }
·ͱΊ w ؙܕσόΠεͷڧΈΛ׆͔ͤΔ w ໊લͷҙਤ͕ΠϚΠνΑ͘Θ͔Βͳ͍ ʢ8FBSBCMF3FDZDMFS7JFXʣ
ৄࡉ w IUUQTEFWFMPQFSBOESPJEDPNXFBS QSFWJFXGFBUVSFTXFBSBCMFSFDZDMFS WJFXIUNM
͋Γ͕ͱ͏͍͟͝·ͨ͠