info: note playback state wipe in 3.0.2
Indicate that the playback state will be wiped in 3.0.2 due to the new queue system.
This commit is contained in:
@@ -22,7 +22,6 @@ import androidx.lifecycle.AndroidViewModel
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
import org.oxycblt.auxio.home.tabs.Tab
|
||||
import org.oxycblt.auxio.list.adapter.BasicListInstructions
|
||||
import org.oxycblt.auxio.music.*
|
||||
import org.oxycblt.auxio.music.MusicStore
|
||||
import org.oxycblt.auxio.music.library.Library
|
||||
|
||||
@@ -24,6 +24,8 @@ import androidx.recyclerview.widget.DiffUtil
|
||||
import androidx.recyclerview.widget.ListUpdateCallback
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
|
||||
// TODO: Re-add list instructions with a less dangerous framework.
|
||||
|
||||
/**
|
||||
* List differ wrapper that provides more flexibility regarding the way lists are updated.
|
||||
* @author Alexander Capehart (OxygenCobalt)
|
||||
@@ -126,9 +128,7 @@ private class RealAsyncListDiffer<T>(
|
||||
}
|
||||
|
||||
override fun replaceList(newList: List<T>, onDone: () -> Unit) {
|
||||
inner.submitList(null) {
|
||||
inner.submitList(newList, onDone)
|
||||
}
|
||||
inner.submitList(null) { inner.submitList(newList, onDone) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user