-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of problems! #85
Comments
Hey @hadilq thanks for reviewing the code. I was just following this guide available here for singleton coroutine scope: https://manuelvivo.dev/coroutinescope-hilt |
So the The other |
As I mentioned, because Google has a document for something doesn't mean it's correct! It just means it has a demand to be documented/standardized. Regarding |
|
@kasem-sm I also don't understand why a UI module like |
The thing is UI modules are the ones using the features. Some screen such as the |
I would suggest avoid using the name of project on classes.
Singleton
CoroutineScope
is a wrong pattern because every async operation needs to have a scope to define when they will be canceled. Check hereAs we chatted, the interfaces in the
data
module should moved out to a new module, let's name itdata-api
, so other modules that needs it could inject the interfaces. Also as I noticed the interfaces of implementation indata
module actually are on wrong modules! For instance, the implementation ofArticleDao
interface will be generated in thedata
module so this interface must be beside otherDao
interfaces in the so calleddata-api
module.It's hard to understand why you have
core
module and alsocommon-ui
andfeatures/authentication/common-ui
modules!Hope it helps.
The text was updated successfully, but these errors were encountered: