view param nullable

This commit is contained in:
Milos Kozak 2021-10-31 17:46:22 +01:00
parent ba9a5dc97b
commit a7ce4c0150

View file

@ -157,7 +157,7 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() {
historyTypeSpinner?.run {
adapter = spinnerAdapter
onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
override fun onItemSelected(parent: AdapterView<*>?, view: View, position: Int, id: Long) {
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
if (manualChange) return
val selected = selectedItem as TypeList
selectedGroup = selected.entryGroup