android-scala-example icon indicating copy to clipboard operation
android-scala-example copied to clipboard

DI

Open scottaj opened this issue 12 years ago • 2 comments

Probably roboguice, or using traits.

scottaj avatar May 06 '13 12:05 scottaj

You can look android annotations also

tamadamas avatar May 21 '13 07:05 tamadamas

Looks like someone has already looked into using Android annotations with Scala and run into problems, https://github.com/excilys/androidannotations/wiki/FAQ#wiki-androidannotations-and-scala.

I tried to use my favorite Scala DI library, subcut, without success.

I would like to use roboguice, but it requires you to subclass your activities, and the scalate library I'm using for UI layouts requires the same.

scottaj avatar Jun 03 '13 01:06 scottaj