pull/63/head
kunfei 5 years ago
parent 62a74363b4
commit a1a6ce7850
  1. 18
      app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt
  2. 7
      app/src/main/res/layout/item_download.xml

@ -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<Book>(context, R.layout.item_download) {
override fun convert(holder: ItemViewHolder, item: Book, payloads: MutableList<Any>) {
}
}

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
Loading…
Cancel
Save