Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implicit val bindingModule = ProjectConfiguration
- val topInstance = new DoStuffOnTheWeb("stuff", new Date())
- val topInstance = new DoStuffOnTheWeb("stuff", new Date())(ProjectConfiguration)
- class MyGame()(val bindingModule:BindingModule = MyGameConfigurationModule) extends Activity with Injectable {
- ERROR/AndroidRuntime(322): FATAL EXCEPTION: main
- java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mycompany.android.mygame.....
- trait ProjectBindings {
- implicit val bindingModule: BindingModule = MyGameConfigurationModule
- }
- class MyGame extends Injectable with ProjectBindings {
- // ...
- }
Add Comment
Please, Sign In to add comment