RecyclerViewUtils
class RecyclerViewUtils
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
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard