MD3 Play & Shuffle button

This commit is contained in:
Prathamesh More 2021-09-25 18:49:21 +05:30
parent 2997095bb3
commit 289557898e
4 changed files with 23 additions and 48 deletions

View file

@ -79,10 +79,13 @@ abstract class AbsRecyclerViewFragment<A : RecyclerView.Adapter<*>, LM : Recycle
}
})
binding.shuffleButton.setOnClickListener {
onShuffleClicked()
binding.shuffleButton.apply {
setOnClickListener {
onShuffleClicked()
}
accentColor()
hide()
}
binding.shuffleButton.accentColor()
} else {
binding.shuffleButton.isVisible = false
}