Package-level declarations
Types
Link copied to clipboard
Fragment that hosts the Home screen, fetching user info, account status, and account balance on resume and rendering MainScreen via Jetpack Compose.
Link copied to clipboard
class HomeScreenViewModel(defaultRepository: ERROR CLASS: Symbol not found for DefaultRepository, credentialStorage: CredentialStorage, settings: ERROR CLASS: Symbol not found for Settings, dispatchers: DispatcherProvider, sampleConfig: SampleConfig) : BaseScreenViewModel
ViewModel for the Home screen, responsible for fetching and exposing the signed-in subscriber's verified profile, basic user info, account holder status, and account balance from the MTN MOMO API.
Functions
Link copied to clipboard
fun MainScreen(navController: ERROR CLASS: Symbol not found for NavController??, snackStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>, showProgressBar: Boolean = false, basicUserInfo: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for BasicUserInfo?>, userInfoWithConsent: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for UserInfoWithConsent?>, accountHolderStatus: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for AccountHolderStatus?>, accountBalance: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for AccountBalance?>)
Renders the Home screen: a scrollable stack of cards showing the signed-in user's profile, basic info, consent-granted verified profile, account status, and balance — or a progress indicator while data is loading. Themed for light and dark mode via MomoScaffold.
Link copied to clipboard