mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
Added document adapter.
This commit is contained in:
parent
0bcb0e601b
commit
8c32097796
1 changed files with 27 additions and 0 deletions
27
app/src/main/java/com/agileburo/anytype/DocumentAdapter.kt
Normal file
27
app/src/main/java/com/agileburo/anytype/DocumentAdapter.kt
Normal file
|
@ -0,0 +1,27 @@
|
|||
package com.agileburo.anytype
|
||||
|
||||
import android.support.v7.widget.RecyclerView
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
|
||||
class DocumentAdapter() : RecyclerView.Adapter<DocumentAdapter.ViewHolder>() {
|
||||
|
||||
override fun onCreateViewHolder(p0: ViewGroup, p1: Int): ViewHolder {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun getItemCount(): Int {
|
||||
return 10
|
||||
}
|
||||
|
||||
override fun onBindViewHolder(p0: ViewHolder, p1: Int) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
sealed class ViewHolder(itemView : View) : RecyclerView.ViewHolder(itemView) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue