DroidKaigi2018のアプリでGroupieが採用されたのを見て、RecyclerViewのライブラリをいくつか試してみたら、Epoxyが最高だったので、ご紹介したいと思います。 今回Epoxyを使ってEmptyView、ヘッダー、フッターを使った簡単なサンプルを作成したので、その実装方法を説明しながら、Epoxyの基本的な使い方を紹介します。 サンプルコード 今回の内容のサンプルコードはこちらになります。(Kotlinです) https://github.com/IsseiAoki/epoxy-sample Epoxyのサンプル作った pic.twitter.com/KP4XoRVsCz — Issei Aoki (@issei_greenwood) 2018年2月18日 機能としてはざっくりと以下の4つです。 ヘッダーに複数枚の画像を表示して横スワイプで切り替えられる アイテム