Pinned Loading
-
-
-
-
Android PR review checklist
Android PR review checklist 1* Proper use of architectural patterns (MVVM, MVI, etc.), ensuring clear separation with Compose UI.2* ViewModel/Presenter logic is sound and testable, effectively providing state to Composables.3* LiveData/Flow/RxJava streams are collected and handled correctly within the composable lifecycle (e.g., `collectAsStateWithLifecycle`).
4* State is preserved across configuration changes (e.g., using `rememberSaveable`, ViewModel state).
5* Dependency injection is used appropriately (Hilt, Koin, manual) for ViewModels and other dependencies used by Composables. -
Example of code with architecture
Example of code with architecture 1class NewsActivity : AppCompatActivity() {
23private val viewModel: NewsViewModel by viewModels()
4private lateinit var adapter: NewsAdapter
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.