queue: remove fast scroller
Temporarily remove the fast scroller for now, as I want to bundle it with adding a scroller to the detail view in a single release.
This commit is contained in:
parent
8a70ece442
commit
9f7a012706
3 changed files with 5 additions and 8 deletions
|
@ -7,7 +7,6 @@
|
||||||
- Search and library now show playing indicators
|
- Search and library now show playing indicators
|
||||||
- Playing indicators are now animated when playback is ongoing
|
- Playing indicators are now animated when playback is ongoing
|
||||||
- Added smooth seeking
|
- Added smooth seeking
|
||||||
- Queue now has a fast scroller
|
|
||||||
|
|
||||||
#### What's Fixed
|
#### What's Fixed
|
||||||
- Fixed issue where fast scroller popup would not appear
|
- Fixed issue where fast scroller popup would not appear
|
||||||
|
|
|
@ -96,7 +96,10 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
||||||
invalidateIndicator()
|
invalidateIndicator()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateIndicator(isActive: Boolean, isPlaying: Boolean) {}
|
override fun setEnabled(enabled: Boolean) {
|
||||||
|
super.setEnabled(enabled)
|
||||||
|
invalidateIndicator()
|
||||||
|
}
|
||||||
|
|
||||||
var isPlaying: Boolean
|
var isPlaying: Boolean
|
||||||
get() = indicator.isPlaying
|
get() = indicator.isPlaying
|
||||||
|
@ -104,11 +107,6 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
||||||
indicator.isPlaying = value
|
indicator.isPlaying = value
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun setEnabled(enabled: Boolean) {
|
|
||||||
super.setEnabled(enabled)
|
|
||||||
invalidateIndicator()
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun invalidateIndicator() {
|
private fun invalidateIndicator() {
|
||||||
if (isActivated) {
|
if (isActivated) {
|
||||||
alpha = 1f
|
alpha = 1f
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<org.oxycblt.auxio.ui.fastscroll.FastScrollRecyclerView
|
<org.oxycblt.auxio.ui.recycler.AuxioRecyclerView
|
||||||
android:id="@+id/queue_recycler"
|
android:id="@+id/queue_recycler"
|
||||||
style="@style/Widget.Auxio.RecyclerView.Linear"
|
style="@style/Widget.Auxio.RecyclerView.Linear"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
Loading…
Reference in a new issue