I have a main app module that depends on 2 sub modules, lets say A and B. In both A & B there exists Application classes that need to be implemented in my main Application class.
How do I go about this?
The only way I think this is possible will be to use multiple inheritance which is not allowed in Java.
I have looked at the following solutions:
1. how to handle multiple application classes in android
2. how to have multiple application classes in separated jars in one application in android
But these pertain to a hierarchical dependency between modules, i.e, A->B->C. However my case involves A->B & C.
Any help is greatly appreciated!