mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge branch 'main' into chore/upgrade-target-sdk
This commit is contained in:
commit
2eeb3ed806
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ class LeaderboardFragment : CommonsDaggerSupportFragment() {
|
|||
}
|
||||
|
||||
private class SelectionListener(private val handler: () -> Unit): AdapterView.OnItemSelectedListener {
|
||||
override fun onItemSelected(adapterView: AdapterView<*>?, view: View, i: Int, l: Long) =
|
||||
override fun onItemSelected(adapterView: AdapterView<*>?, view: View?, i: Int, l: Long) =
|
||||
handler()
|
||||
|
||||
override fun onNothingSelected(p0: AdapterView<*>?) = Unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue