CollectionScreen
fun CollectionScreen(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, collectionPayScreenViewModel: CollectionPayScreenViewModel?, momoTransaction: ERROR CLASS: Symbol not found for MutableLiveData<ERROR CLASS: Symbol not found for MomoTransaction?>)
Renders the Collection Request-to-Pay screen, showing a payment capture form when no transaction result is available, or a transaction summary once a MomoTransaction has been returned.
Parameters
navController
NavController used to navigate between destinations via the drawer.
snackStateFlow
Flow emitting SnackBarComponentConfiguration messages to display.
showProgressBar
Whether to display a loading indicator instead of the form; defaults to false.
collectionPayScreenViewModel
ViewModel providing form state and callbacks; may be null in previews.
momoTransaction
LiveData holding the completed MomoTransaction; null triggers the capture form.