Stefan07/24/2019, 12:24 PM
tseisel07/24/2019, 4:36 PM
(it is named
). In Kotlin, when a class has 2 methods like the following :
, Kotlin converts it to a property, so you can directly write
setFoo( Foo f)
obj.foo = ...
. That's the case for `ListPreference`: it has both
, thus the IDE suggests you "value" instead of "setValue(String)".
, maybe you could share some code ?
Stefan07/24/2019, 4:42 PM