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
9b50b3cbf7
2 changed files with 5 additions and 7 deletions
|
@ -96,7 +96,10 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
|||
invalidateIndicator()
|
||||
}
|
||||
|
||||
fun updateIndicator(isActive: Boolean, isPlaying: Boolean) {}
|
||||
override fun setEnabled(enabled: Boolean) {
|
||||
super.setEnabled(enabled)
|
||||
invalidateIndicator()
|
||||
}
|
||||
|
||||
var isPlaying: Boolean
|
||||
get() = indicator.isPlaying
|
||||
|
@ -104,11 +107,6 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr
|
|||
indicator.isPlaying = value
|
||||
}
|
||||
|
||||
override fun setEnabled(enabled: Boolean) {
|
||||
super.setEnabled(enabled)
|
||||
invalidateIndicator()
|
||||
}
|
||||
|
||||
private fun invalidateIndicator() {
|
||||
if (isActivated) {
|
||||
alpha = 1f
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.oxycblt.auxio.ui.fastscroll.FastScrollRecyclerView
|
||||
<org.oxycblt.auxio.ui.recycler.AuxioRecyclerView
|
||||
android:id="@+id/queue_recycler"
|
||||
style="@style/Widget.Auxio.RecyclerView.Linear"
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in a new issue