RecyclerViewUtils

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addHorizontalDivider(context: Context, recyclerView: RecyclerView, layoutManager: LinearLayoutManager)
Link copied to clipboard
fun <T> changeItemAtPosition(adapterList: MutableList<T>, adapter: RecyclerView.Adapter<*>, positionForChanging: Int, itemToChange: T)
Link copied to clipboard
Link copied to clipboard
fun <T> deleteItem(adapterList: MutableList<T>, adapter: RecyclerView.Adapter<*>, positionForDeletion: Int)
Link copied to clipboard
fun <T> deleteItemWithUndo(adapterList: MutableList<T>, adapter: RecyclerView.Adapter<*>, positionForDeletion: Int, rootLayout: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> insertItemOnLastPosition(adapterList: MutableList<T>, adapter: RecyclerView.Adapter<*>, itemToInsert: T)
Link copied to clipboard
fun <T> insertMultipleItems(adapterList: MutableList<T>, adapter: RecyclerView.Adapter<*>, insertionStartsAt: Int, listToInsert: MutableList<T>)
Link copied to clipboard
fun putSelectedItem(position: Int)
Link copied to clipboard
fun removeSelectedItem(position: Int)
Link copied to clipboard
Link copied to clipboard
fun selectItemsOnCheckbox(checkBox: CheckBox, adapterPosition: Int)