From a1a6ce78501f902f4183d8248eccdabbaff0aab4 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 22 Dec 2019 21:24:25 +0800 Subject: [PATCH] up --- .../legado/app/ui/download/DownloadAdapter.kt | 18 ++++++++++++++++++ app/src/main/res/layout/item_download.xml | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt create mode 100644 app/src/main/res/layout/item_download.xml diff --git a/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt b/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt new file mode 100644 index 000000000..8407633ff --- /dev/null +++ b/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt @@ -0,0 +1,18 @@ +package io.legado.app.ui.download + +import android.content.Context +import io.legado.app.R +import io.legado.app.base.adapter.ItemViewHolder +import io.legado.app.base.adapter.SimpleRecyclerAdapter +import io.legado.app.data.entities.Book + + +class DownloadAdapter(context: Context) : + SimpleRecyclerAdapter(context, R.layout.item_download) { + + + override fun convert(holder: ItemViewHolder, item: Book, payloads: MutableList) { + + } + +} \ No newline at end of file diff --git a/app/src/main/res/layout/item_download.xml b/app/src/main/res/layout/item_download.xml new file mode 100644 index 000000000..d829e291c --- /dev/null +++ b/app/src/main/res/layout/item_download.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file