Pre-Release | Android Studio UI App - Jetpack compose migration done - #25
Merged
Conversation
- Remove `BaseFragment`, `LoginFragment`, and sub-component fragments (`LoginEmailFragment`, `LoginPasswordFragment`, `LoginButtonFragment`) along with their associated XML DataBinding layouts. - Implement `LoginScreen` and modular UI components (`LoginEmailField`, `LoginPasswordField`, `LoginButton`) using Jetpack Compose and Material3. - Refactor `LoginViewModel` to use Compose `mutableStateOf` for `email` and `password` tracking. - Centralize input validation debouncing logic (300ms) within the `LoginViewModel` using `viewModelScope` to replace fragment-level handling. - Update `LoginViewModel` to handle pure state-driven UI updates, ensuring unidirectional data flow between the ViewModel and Composables. Signed-off-by: Alexis Tercero <alexistercero55@gmail.com>
- Replace Fragment-based architecture and XML layouts with the `HomeScreen` composable. - Remove legacy `HomeFragment`, `HomeServicesFragment`, `PageHeaderFragment`, and `PageFooterFragment` along with their associated layout files. - Implement modular UI components using Jetpack Compose: `PageHeader`, `PageFooter`, `ServiceList`, and `ServiceItem`. - Replace `RecyclerView` and `ServiceAdapter` with `LazyVerticalGrid` for displaying services. - Integrate `HomeViewModel` and `HeaderViewModel` state using `observeAsState` within the new composable hierarchy. Signed-off-by: Alexis Tercero <alexistercero55@gmail.com>
- Convert `MainActivity` from `AppCompatActivity` to `ComponentActivity` and replace XML layouts with `setContent`. - Remove `activity_main.xml` and `nav_graph.xml`, migrating navigation logic to a Compose-based `NavHost`. - Implement routing using `LaunchedEffect` to reactively navigate between `LoginScreen` and `HomeScreen` based on authentication state. - Replace fragment-based UI with `LoginScreen` and `HomeScreen` composables. - Introduce `LoadingScreen` and `LoadingOverlay` composables to manage UI state during session initialization and background processing. - Clean up View-based dependencies including Data Binding and `NavHostFragment`. Signed-off-by: Alexis Tercero <alexistercero55@gmail.com>
15 UI migration compose
- Replace existing README content with a comprehensive technical report detailing the Rho Studio UI architecture, emphasizing Jetpack Compose, MVVM, and Unidirectional Data Flow (UDF) principles. - Document core architectural layers, including feature-specific UI components, centralized business logic via `BaseViewModel`, and session management infrastructure. - Detail technical implementations for state-driven reactive navigation, debounced input validation, and the Material 3 design system. - Add a roadmap for enterprise-grade scalability, covering Domain Layer introduction, Hilt for dependency injection, and project modularization. - Update the Android CI workflow to trigger on the `19-compose-migration-review` branch for pushes and include `pre-release` and `main` branches for pull request triggers. Signed-off-by: Alexis Tercero <alexistercero55@gmail.com>
DOC | #19 Technical Report: Rho Studio UI - CI/CD for release
AlexisTercero55
requested review from
MarkParedes,
alexistercero-rho-dev and
guslg325
July 30, 2026 23:03
alexistercero-rho-dev
approved these changes
Jul 30, 2026
alexistercero-rho-dev
left a comment
Collaborator
There was a problem hiding this comment.
Migration to Jetpack compose DONE
Ready for pre-release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related work
MIGRATION | #18 #20 login feature from Fragments to Jetpack Compose
BaseFragment,LoginFragment, and sub-component fragments (LoginEmailFragment,LoginPasswordFragment,LoginButtonFragment) along with their associated XML DataBinding layouts.LoginScreenand modular UI components (LoginEmailField,LoginPasswordField,LoginButton) using Jetpack Compose and Material3.LoginViewModelto use ComposemutableStateOfforemailandpasswordtracking.LoginViewModelusingviewModelScopeto replace fragment-level handling.LoginViewModelto handle pure state-driven UI updates, ensuring unidirectional data flow between the ViewModel and Composables.MIGRATION | #21 Home feature to Jetpack Compose
HomeScreencomposable.HomeFragment,HomeServicesFragment,PageHeaderFragment, andPageFooterFragmentalong with their associated layout files.PageHeader,PageFooter,ServiceList, andServiceItem.RecyclerViewandServiceAdapterwithLazyVerticalGridfor displaying services.HomeViewModelandHeaderViewModelstate usingobserveAsStatewithin the new composable hierarchy.MIGRATION | #22 MainActivity to Jetpack Compose and Compose Navigation
MainActivityfromAppCompatActivitytoComponentActivityand replace XML layouts withsetContent.activity_main.xmlandnav_graph.xml, migrating navigation logic to a Compose-basedNavHost.LaunchedEffectto reactively navigate betweenLoginScreenandHomeScreenbased on authentication state.LoginScreenandHomeScreencomposables.LoadingScreenandLoadingOverlaycomposables to manage UI state during session initialization and background processing.NavHostFragment.DOC | #19 Technical Report: Rho Studio UI - CI/CD for release
BaseViewModel, and session management infrastructure.19-compose-migration-reviewbranch for pushes and includepre-releaseandmainbranches for pull request triggers.fix #19