Item range changed probably not actually necessary.
parent
bc640051cf
commit
629973e323
|
@ -152,7 +152,6 @@ class TracklistAdapter(private val fragment: Fragment) : RecyclerView.Adapter<Re
|
||||||
tracklist.tracks.remove(track)
|
tracklist.tracks.remove(track)
|
||||||
notifyItemChanged(0)
|
notifyItemChanged(0)
|
||||||
notifyItemRemoved(ui_index)
|
notifyItemRemoved(ui_index)
|
||||||
notifyItemRangeChanged(ui_index, tracklist.tracks.size)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun delete_track_at_position_suspended(context: Context, position: Int)
|
suspend fun delete_track_at_position_suspended(context: Context, position: Int)
|
||||||
|
|
Loading…
Reference in New Issue