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
Лучшие практики RecyclerView
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
PavelBo
June 29, 2021
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Лучшие практики RecyclerView
PavelBo
June 29, 2021
Other Decks in Technology
See All in Technology
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
380
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
240
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
350
夫婦で子育てするための育児標準化
codmoninc
PRO
0
460
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
790
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
160
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
740
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
190
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
300
Featured
See All Featured
Accessibility Awareness
sabderemane
1
250
Git: the NoSQL Database
bkeepers
PRO
433
67k
The SEO identity crisis: Don't let AI make you average
varn
0
590
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The Pragmatic Product Professional
lauravandoore
37
7.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Building AI with AI
inesmontani
PRO
1
1.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Transcript
Павел Борзиков 29.06.2021 Android Developer Которые вам стоит знать. ЛУЧШИЕ
ПРАКТИКИ RecyclerView
2 Начал разрабатывать под Андроид в 2014 году в Краснодарском
стартапе. Участвовал в разработке банковского приложения, позднее в сервисе доставки еды, сейчас стараюсь делать лучше жизнь пользователей Авито. ▶ Telegram: @elvisfromsouth Павел Борзиков Android Developer
3 Что будем делать?
4 Groupie > Groupie is a simple, flexible library for
complex RecyclerView layouts. val groupAdapter = GroupieAdapter() groupAdapter += CardItem() groupAdapter += TitleItem() recyclerView.adapter = groupAdapter https://github.com/lisawray/ groupie
5 Adapter Delegates > The idea of this library is
to build your adapters by composing reusable components. recyclerView.adapter = ListDelegationAdapter<List<Animal >> ( catAdapterDelegate( ... ), dogAdapterDelegate(), snakeAdapterDelegate() ) https://github.com/sockeqwe/ AdapterDelegates
6 Fingerprint RecyclerView Adapter Fingerprint Fingerprint Fingerprint
7 Fingerprint RecyclerView Adapter onCreateViewHolder? Fingerprint Fingerprint Fingerprint
8 Fingerprint RecyclerView Adapter onCreateViewHolder? Fingerprint Fingerprint Fingerprint Finding Fingerprint
9 Fingerprint RecyclerView Adapter onCreateViewHolder? Fingerprint Fingerprint Fingerprint
10 Переиспользование элемента
11 Переиспользование элемента
12 GroupVerticalItemDecoration Outer Divider Outer Divider Inner Divider Inner Divider
13 Расстановка отступов
14 Расстановка отступов
15 Расстановка отступов
16 Как починить «моргание» элемента? Удалить дефолтный ItemAnimator 01. Payload
02. ? ?
17 Как починить «моргание» элемента? Удалить дефолтный ItemAnimator 01. Payload
02. ?
18 Как починить «моргание» элемента? Удалить дефолтный ItemAnimator 01. Payload
02.
19 Как починить «моргание» элемента? Удалить дефолтный ItemAnimator 01. Payload
02.
20 ConcatAdapter GreenAdapter BlueAdapter RedAdapter
21 ConcatAdapter GreenAdapter BlueAdapter RedAdapter ConcatAdapter ( ) GreenAdapter BlueAdapter
RedAdapter
22 ConcatAdapter GreenAdapter BlueAdapter RedAdapter ConcatAdapter ( ) GreenAdapter BlueAdapter
RedAdapter
23 ConcatAdapter GreenAdapter BlueAdapter RedAdapter ConcatAdapter ( ) GreenAdapter BlueAdapter
RedAdapter
24 Item Life Cycle
25 Item Life Cycle Scroll
26 Item Life Cycle Scroll Scrap View
27 Item Life Cycle Scroll Scrap View Recycled Views
28 Item Life Cycle Scroll Scrap View Recycled Views Dirty
View
29 Item Life Cycle Scroll Scrap View Recycled Views Dirty
View Binding
30 Item Life Cycle Scroll Scrap View Recycled Views Dirty
View Attach Binding
31 Item Life Cycle Scroll Scrap View Recycled Views Dirty
View Attach Binding ViewPool
32 ViewPools View Pool View Pool View Pool
33 ViewPools View Pool
https://github.com/elvisfromsouth/ RecyclerViewTipsAndTricks Спасибо за внимание