Mohsen Rezania

Results 8 issues of Mohsen Rezania

`ApplicationComponent` is Deprecated in Dagger Version 2.30. `ViewModelInject` is also Deprecated Updated the dependencies

**This is a new PR for the saved screen. Replacement for [this PR](https://github.com/android/nowinandroid/pull/427).** The output after the code review and replaced vector:

### Is there an existing issue for this? - [X] I have searched the existing issues ### Is there a StackOverflow question about this issue? - [X] I have searched...

bug

This PR is about polishing codes, and using extension functions for `StateIn()` (mostly in ViewModels). Basically, all of the `StateIn()` functions inside ViewModels were following/using the same pattern, so I...

refactor

This PR is about the test for `EmptyState()` function. I basically removed the unused `windowSizeClass` variable, and added the check for both Texts for the `EmptyState()`. I was also looking...

refactor
testing

We already have defined the modifier in the parameters and we can use the same in the whole function, and there is no need for defining it again for each...

There was a TODO in the `OfflineFirstNewsRepository` class which was referring to making the `getNewsResources()` more efficient. In this PR, it retrieves the news resource IDs based on filter conditions...