ItemsAdapter

class ItemsAdapter(activity: BaseAbstractActivity, var listItems: MutableList<ListItem>, listener: ItemOperationsListener?, recyclerView: MyRecyclerView, isPickMultipleIntent: Boolean, fastScroller: FastScroller, swipeRefreshLayout: SwipeRefreshLayout, itemClick: (Any) -> Unit) : ItemAbstractAdapter

Constructors

Link copied to clipboard
constructor(activity: BaseAbstractActivity, listItems: MutableList<ListItem>, listener: ItemOperationsListener?, recyclerView: MyRecyclerView, isPickMultipleIntent: Boolean, fastScroller: FastScroller, swipeRefreshLayout: SwipeRefreshLayout, itemClick: (Any) -> Unit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val itemClick: (Any) -> Unit
Link copied to clipboard
open override val itemCount: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun actionItemPressed(id: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getActionMenuId(): Int
Link copied to clipboard
open override fun getIsItemSelectable(position: Int): Boolean
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open override fun getItemId(position: Int): Long
Link copied to clipboard
open override fun getItemKeyPosition(key: Int): Int
Link copied to clipboard
open override fun getItemSelectionKey(position: Int): Int?
Link copied to clipboard
open override fun getItemViewType(position: Int): Int
Link copied to clipboard
open override fun getSelectableItemCount(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isSectionAt(position: Int): Boolean
Link copied to clipboard
fun itemLongClicked(position: Int)
Link copied to clipboard
Link copied to clipboard
fun notifyItemChanged(position: Int)
fun notifyItemChanged(position: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemInserted(position: Int)
Link copied to clipboard
fun notifyItemMoved(fromPosition: Int, toPosition: Int)
Link copied to clipboard
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int)
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int, @Nullable payload: Any?)
Link copied to clipboard
fun notifyItemRangeInserted(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRangeRemoved(positionStart: Int, itemCount: Int)
Link copied to clipboard
fun notifyItemRemoved(position: Int)
Link copied to clipboard
open override fun onActionModeCreated()
Link copied to clipboard
open override fun onActionModeDestroyed()
Link copied to clipboard
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: RecyclerViewAdapter.ViewHolder, position: Int, @NonNull payloads: List<Any?>)
open override fun onBindViewHolder(holder: RecyclerViewAdapter.ViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerViewAdapter.ViewHolder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun prepareActionMode(menu: Menu)
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)
Link copied to clipboard
open override fun setupView(view: View, fileDirItem: FileDirItem)
Link copied to clipboard
fun updateChildCount(path: String, count: Int)
Link copied to clipboard
Link copied to clipboard
fun updateItems(newItems: ArrayList<ListItem>, highlightText: String = "")