mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-22 17:01:51 +01:00
Don't scroll to the top of the game list on adapter changes
This commit is contained in:
parent
caa15f729f
commit
e6efaf26bc
@ -107,11 +107,7 @@ class MainActivity : AppCompatActivity() {
|
||||
PreferenceManager.setDefaultValues(this, R.xml.app_preferences, false)
|
||||
PreferenceManager.setDefaultValues(this, R.xml.emulation_preferences, false)
|
||||
|
||||
adapter.apply {
|
||||
setOnFilterPublishedListener {
|
||||
binding.appList.post { binding.appList.smoothScrollToPosition(0) }
|
||||
}
|
||||
}
|
||||
binding.appList.setHasFixedSize(true)
|
||||
|
||||
setupAppList()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user