CalendarAdapter

class CalendarAdapter(    calendarConfig: CalendarConfig,     headerViewBinder: MonthHeaderViewBinder<View>?,     monthViewBinder: MonthViewBinder<BaseMonthView>,     footerViewBinder: MonthFooterViewBinder<View>?) : RecyclerView.Adapter<MonthViewHolder>

Author

sy007

Constructors

Link copied to clipboard
fun CalendarAdapter(    calendarConfig: CalendarConfig,     headerViewBinder: MonthHeaderViewBinder<View>?,     monthViewBinder: MonthViewBinder<BaseMonthView>,     footerViewBinder: MonthFooterViewBinder<View>?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var footerViewId: Int
Link copied to clipboard
var headerViewId: Int
Link copied to clipboard
var monthViewId: Int

Functions

Link copied to clipboard
fun getAdapterPosition(calendarDay: CalendarDay): Int
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
fun notifyMonthScrollListener()
Link copied to clipboard
open override fun onAttachedToRecyclerView(recyclerView: RecyclerView)
Link copied to clipboard
open override fun onBindViewHolder(holder: MonthViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MonthViewHolder
Link copied to clipboard
open override fun onDetachedFromRecyclerView(recyclerView: RecyclerView)

Inherited functions

Link copied to clipboard
fun bindViewHolder(@NonNull p0: MonthViewHolder, p1: Int)
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): MonthViewHolder
Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
fun hasObservers(): Boolean
Link copied to clipboard
fun hasStableIds(): Boolean
Link copied to clipboard
fun notifyDataSetChanged()
Link copied to clipboard
fun notifyItemChanged(p0: Int)
fun notifyItemChanged(p0: Int, @Nullable p1: Any?)
Link copied to clipboard
fun notifyItemInserted(p0: Int)
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRangeChanged(p0: Int, p1: Int)
fun notifyItemRangeChanged(    p0: Int,     p1: Int,     @Nullable p2: Any?)
Link copied to clipboard
fun notifyItemRangeInserted(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRangeRemoved(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRemoved(p0: Int)
Link copied to clipboard
open fun onBindViewHolder(    @NonNull p0: MonthViewHolder,     p1: Int,     @NonNull p2: MutableList<Any>)
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: MonthViewHolder): Boolean
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull p0: MonthViewHolder)
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull p0: MonthViewHolder)
Link copied to clipboard
open fun onViewRecycled(@NonNull p0: MonthViewHolder)
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
Link copied to clipboard