I am trying to modularize my application and I have a shared module where I put my shared resources and strings. In my module I have a dependency to the shared module as following:
implementation(project(Modules.shared))
Let's say I am working in Onboarding Module. When I want to call R.string.mystring
, mystring is not found.
But when I write packageNameOfSharedModule.R.string.mystring
, it works.
In another projects, I can access any resource from the current modul's package.
What I am missing ? Thanks in advance!