ViewpagerAdapter

class ViewpagerAdapter(fragment: <Error class: unknown class>, val scrollCallback: (isScrollingDown: Boolean) -> Unit, val clickCallback: (SearchClickCallback) -> Unit) : BaseAdapter<SyncAPI.Page, Bundle> (source)

Constructors

Link copied to clipboard
constructor(fragment: <Error class: unknown class>, scrollCallback: (isScrollingDown: Boolean) -> Unit, clickCallback: (SearchClickCallback) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
open val footers: Int
Link copied to clipboard
open val headers: Int
Link copied to clipboard
val id: Int
Link copied to clipboard
val scrollCallback: (isScrollingDown: Boolean) -> Unit

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
fun getItem(position: Int): SyncAPI.Page
Link copied to clipboard
open fun getItemCount(): Int
Link copied to clipboard
fun getItemOrNull(position: Int): SyncAPI.Page?
Link copied to clipboard
fun getItemViewType(position: Int): Int
Link copied to clipboard
fun onAttachedToRecyclerView(recyclerView: <Error class: unknown class>)
Link copied to clipboard
open override fun onBindContent(holder: ViewHolderState<Bundle>, item: SyncAPI.Page, position: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onBindViewHolder(holder: ViewHolderState<Bundle>, position: Int)
open fun onBindViewHolder(holder: ViewHolderState<Bundle>, position: Int, payloads: MutableList<Any>)
Link copied to clipboard
open override fun onCreateContent(parent: ViewGroup): ViewHolderState<Bundle>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onDetachedFromRecyclerView(recyclerView: <Error class: unknown class>)
Link copied to clipboard
open override fun onUpdateContent(holder: ViewHolderState<Bundle>, item: SyncAPI.Page, position: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun save(recyclerView: <Error class: unknown class>)
Link copied to clipboard
open fun submitList(list: List<SyncAPI.Page>?)