pratyush
Janishar Ali
21

Janishar Ali

To answer your questions

  1. Consider Ui as a folder and Model as a folder .so in the Ui build.gradle we would add model as a lib dependency.
  2. So in UI i would be accessing ApplicationScope objects either as field injections or constructor injections and my goal is to just have one instance of that ApplicationScope object weather its injected in model or weather its injected in Ui..

3. So i am going to have a component which has all the model folder objects which is called “ApplicationComponent” and I am thinking that my UiComponent would be depending on the “ApplicationComponent”

I hope these answer your questions ..But the major problem i am trying to solve is to have one ApplicationScope instance irrespective of where ever its injected ..

Show your support

Clapping shows how much you appreciated pratyush’s story.