Package com. ayvytr. baseadapter
Types
Common Adapter
Link copied to clipboard
abstract class CommonAdapter<T> @JvmOverloads constructor(context: Context, @LayoutRes itemLayoutId: Int, list: MutableList<T>) : MultiItemTypeAdapter<T>
Content copied to clipboard
Empty Adapter
Link copied to clipboard
abstract class EmptyAdapter<T>(context: Context, @LayoutRes layoutId: Int, @LayoutRes emptyLayoutId: Int) : CommonAdapter<T>
Content copied to clipboard
支持空布局的Adapter,可重写onBindEmptyView实现空布局点击事件;使用时要注意:空布局宽高必须是 match parent.
Empty Item View Delegate
Link copied to clipboard
Item View Delegate
Link copied to clipboard
Item View Delegate Manager
Link copied to clipboard
Multi Item Type Adapter
Link copied to clipboard
open class MultiItemTypeAdapter<T>(context: Context, mList: MutableList<T>) : RecyclerView.Adapter<ViewHolder>
Content copied to clipboard
View Holder
Link copied to clipboard
class ViewHolder(mContext: Context, convertView: View) : RecyclerView.ViewHolder
Content copied to clipboard
Created by Jason on 2018/8/14.