app / sg.edu.ntu.scse.cz2006.gymbuddies.util / SwipeDeleteCallback / ISwipeCallback / delete

delete

abstract fun delete(position: Int?): Boolean

Successfully deleted at a specific position on the RecyclerView

Parameters

position - Int? Position that the item was deleted from

Return
Boolean true if successful, false otherwise (if false, assumed failed and not continue removal)