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
Recycler View - Android Alliance March 2016
Search
Yash Prabhu
March 30, 2016
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Recycler View - Android Alliance March 2016
An intro to RecyclerView
Yash Prabhu
March 30, 2016
More Decks by Yash Prabhu
See All by Yash Prabhu
Getting Started with Conference Speaking
yprabhu
0
250
DroidCon NYC 2019: Being more than an Android developer
yprabhu
0
190
Keynote: Being more than an Android Developer
yprabhu
4
1.5k
Intro to Augmented Reality on Android
yprabhu
0
200
ElaConf2017
yprabhu
1
630
Onboarding Engineers
yprabhu
1
340
Mastering Android's App Resources
yprabhu
5
950
Chicago Roboto - Design Develop Deploy!
yprabhu
2
550
DroidCon NYC 2016 - A Material Design guide for Android developers
yprabhu
2
600
Other Decks in Technology
See All in Technology
LLMリーダーボードアップデートに向けたAgentic Math_SWEのトレースについて
nejumi
0
190
20260801_スクフェス大阪
kgnkhkr
0
340
データエンジニアこそ組織のオントロジーに向き合うべき — 問いに答えるAIから、事業を動かすAIへ
gappy50
7
3k
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
0
200
AI エージェント時代のデジタルアイデンティティ
fujie
2
1.3k
[MIRU26] To What Extent Does MLLM-as-a-Judge Exhibit Cross-Model Preference Bias?
keio_smilab
PRO
0
100
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
5
1.5k
脱Jenkins、インターン生が挑んだCIツールGitHubActions移行
mixi_engineers
PRO
1
300
MIRU 2026 チュートリアル
keisuke198619
0
420
新しい SLO が良い感じにハマっている話
z63d
4
1.9k
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
7
5.8k
検索技術知識0のエンジニアが広告検索システムを内製化して運用するまで
lycorptech_jp
PRO
0
180
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
22k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
270
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
270
Utilizing Notion as your number one productivity tool
mfonobong
4
490
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
450
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
420
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
190
Design in an AI World
tapps
1
270
Accessibility Awareness
sabderemane
1
170
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
Transcript
RecyclerView Yash Prabhu @yashvprabhu github.com/yprabhu yprabhu.com dramafever.com
What is RecyclerView?
What does it look like?
Under the hood Recycler View Layout Manager Adapter Dataset Item
Animator
Show me the code! compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:recyclerview-v7:23.1.1'
Add RecyclerView to your layout <android.support.v7.widget.RecyclerView android:id="@+id/my_recycler_view" android:scrollbars="vertical" android:layout_width="match_parent" android:layout_height="match_parent"/>
View Item <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android. com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="300dp"
android:layout_height="300dp" android:layout_margin="@dimen/spacing"> <ImageView android:id="@+id/image" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" tools:src="@mipmap/ic_launcher" /> <TextView android:id="@+id/text" android:layout_width="match_parent" android:layout_height="60dp" android:layout_gravity="bottom" android:textColor="@android:color/white" android:gravity="center" android:background="#80222222" android:padding="@dimen/spacing" tools:text
Show me the code! setContentView(R.layout.recycler_layout); recyclerView = (RecyclerView) findViewById(R.id.my_recycler_view); recyclerView.setHasFixedSize(true);
adapter = new RecyclerAdapter(items, R.layout.grid_view_item); recyclerView.setAdapter(adapter); layoutManager = new GridLayoutManager(this, spanCount); recyclerView.setLayoutManager(layoutManager); recyclerView.setItemAnimator(new DefaultItemAnimator());
Demo RecyclerViewExample
When should I use a RecyclerView?
RecyclerView Yash Prabhu @yashvprabhu github.com/yprabhu yprabhu.com dramafever.com