Item range changed probably not actually necessary.
This commit is contained in:
parent
bc640051cf
commit
629973e323
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue