Item range changed probably not actually necessary.

This commit is contained in:
voussoir 2022-04-06 22:15:12 -07:00
parent bc640051cf
commit 629973e323
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -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)