DroidKaigi 2017 にて発表した資料です。
support-library の25.0.0以降よりRecyclerViewのレンダリングパフォーマンスを向上させるItemPrefetchという機能が追加されています。 ItemPrefetchとは RecyclerViewでは、以下のような処理が行われています。 UIThreadからViewのinflationおよびbind/Animation等処理 ↓ GPUのRenderThreadで描画 GPUのRenderThreadに渡っている間, UIThread はidle状態に入ります。 ここで問題となるのは、スクロールして新規にViewをinflateが必要な場合に、UIThreadでその処理が行われることによって描画遅延の原因となることです。 25.0.0より、ItemPrefetchが有効になることによって、次のViewのinflationが必要かどうかを判断し、 必要な場合は
Note: This article is Part 1 in our series. Here are links to Part 2 and Part 3 as well. By now, if you're an Android developer paying any attention, you've at least heard of RecyclerView; a new component that will be added to the support library to facilitate custom implementations of high-performance view collections by facilitating view recycling. Others have already done a remarkable job descr
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く