Example of adding composable module providing an interface?
I'd like to see an example of adding a composable module to another package which includes an interface. The idea is that I'd like to separate my modules into logical groups, so my "UtilitiesModule" would set up @Provides for utilities related stuff. ApiModule for api related stuff, etc... but then It'd all compose itself into the main application module.
I'm trying to get it work here: https://github.com/pselden/android-gradle-dagger-tutorial/tree/add-composable-module
But I'm seeing this error:
com.frankdu.cool.things.Thingy could not be bound with key com.frankdu.cool.things.Thingy required by com.frankdu.cool.activity.SplashActivity for com.frankdu.cool.activity.ActivityScopeModule
Am I going about this the wrong way?
@pselden I commented on your commit. It is how I set up the composable modules. I am inclined not to add such example to this simple tutorial, because it could complicated things too quickly for beginners. Please let me know if it works.
p.s. I just updated the tutorial codes.