You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to reorder the current playlist from ConcatenatingMediaSource mediaSources instance. If we supposed that we have a DiffUtil.DiffResult instance between the current playlist and a new one, can we use the interface android.support.v7.util.ListUpdateCallback to apply the change to the current playlist like :
The overall approach looks fine. Were you running into issues with it? The dev-v2 branch has range-based removal which will help simplify removeInMediaSource (see also #4542).
Hi,
I'm trying to reorder the current playlist from
ConcatenatingMediaSource mediaSources
instance. If we supposed that we have aDiffUtil.DiffResult
instance between the current playlist and a new one, can we use the interfaceandroid.support.v7.util.ListUpdateCallback
to apply the change to the current playlist like :Is this callback implementation correct ?
I am interested only by the remove and move action on the playlist.
The text was updated successfully, but these errors were encountered: