arch-android

//Android/br.com.arch.toolkit.android.recyclerAdapter

Package-level declarations

Types

Name Summary        
BaseRecyclerAdapter [android]
abstract class BaseRecyclerAdapter<MODEL : Any>(differ: DiffUtil.ItemCallback<MODEL> = DefaultItemDiffer()) : RecyclerView.Adapter<BaseViewHolder> , StickyHeaders
A base implementation of RecyclerView.Adapter that uses AsyncListDiffer and ViewBinder for efficient list updates and simplified view binding.
       
BaseViewHolder [android]
class BaseViewHolder(view: ERROR CLASS: Symbol not found for View) : RecyclerView.ViewHolder
A basic RecyclerView.ViewHolder implementation used by BaseRecyclerAdapter.
       
DefaultItemDiffer [android]
class DefaultItemDiffer<MODEL : Any> : DiffUtil.ItemCallback<MODEL>
A default implementation of DiffUtil.ItemCallback that uses the equality operator (==) for both item and content comparison.
       
SimpleAdapter [android]
open class SimpleAdapter<MODEL : Any, out VIEW : ERROR CLASS: Symbol not found for View, ViewBinder<MODEL>>(creator: (@R
kotlin/ParameterName (name = String(context)) ERROR CLASS: Symbol not found for Context) -> VIEW) : BaseRecyclerAdapter<MODEL>
A simplified implementation of BaseRecyclerAdapter for a single view type.
   
SimpleStickyAdapter [android]
open class SimpleStickyAdapter<MODEL : StickyHeaderModel, out VIEW : ERROR CLASS: Symbol not found for View, ViewBinder<MODEL>, out STICKY_VIEW : ERROR CLASS: Symbol not found for View, ViewBinder<MODEL>>(itemCreator: (@R
kotlin/ParameterName (name = String(context)) ERROR CLASS: Symbol not found for Context) -> VIEW, stickyItemCreator: (@R kotlin/ParameterName (name = String(context)) ERROR CLASS: Symbol not found for Context) -> STICKY_VIEW) : BaseRecyclerAdapter<MODEL>
A simplified implementation of BaseRecyclerAdapter that supports sticky headers.
ViewBinder [android]
interface ViewBinder<in MODEL>
Interface to be implemented by custom android.view.Views to handle data binding when used with BaseRecyclerAdapter.
      Â