- [x] Convert `MainActivity` from `AppCompatActivity` to `ComponentActivity` and replace XML layouts with `setContent`. - [x] Remove `activity_main.xml` and `nav_graph.xml`, migrating navigation logic to a Compose-based `NavHost`. - [x] Implement routing using `LaunchedEffect` to reactively navigate between `LoginScreen` and `HomeScreen` based on authentication state. - [x] Replace fragment-based UI with `LoginScreen` and `HomeScreen` composables. - [x] Introduce `LoadingScreen` and `LoadingOverlay` composables to manage UI state during session initialization and background processing. - [x] Clean up View-based dependencies including Data Binding and `NavHostFragment`.
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.