Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created August 1, 2022 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skydoves/95d93d12ca92e091a1049ada42c90a97 to your computer and use it in GitHub Desktop.
Save skydoves/95d93d12ca92e091a1049ada42c90a97 to your computer and use it in GitHub Desktop.
whatsapp_messages
@Composable
fun WhatsAppMessages(
channelId: String,
composeNavigator: AppComposeNavigator,
whatsAppMessagesViewModel: WhatsAppMessagesViewModel
) {
LaunchedEffect(key1 = channelId) {
whatsAppMessagesViewModel.handleEvents(
WhatsAppMessageEvent.FetchChannel(channelId)
)
}
..
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment