I am starting to use Scala on Android, and many access methods are standard JavaBeans accessories, for example. setTitle(...) and getTitle() . Itโs a lot nicer to use the title_= and title methods in scala, so I can write code like:
button.title = "Foo"
Is there a way to automatically display them from JavaBeans-style accessories, possibly using the Dynamic trait?
source share