withoutclass
04/17/2018, 7:00 PMUnit
, or rather Data Bindings ability to deal with it.bachhuberdesign
04/17/2018, 8:30 PMfunction: (View) -> Any
), not quite as clean but not a bad workaroundwithoutclass
04/17/2018, 8:55 PMbachhuberdesign
04/17/2018, 9:04 PMAny
. I can still use Unit
, which makes it even weirderfun testFunction() = Unit
throws StackOverflowException, but fun testFunction(): Any = Unit
works fine