Skip to content

Instantly share code, notes, and snippets.

@takahirom
Created March 27, 2022 07:45
Show Gist options
  • Save takahirom/f24998a8b1c3d49947f8bf91f9dfabba to your computer and use it in GitHub Desktop.
Save takahirom/f24998a8b1c3d49947f8bf91f9dfabba to your computer and use it in GitHub Desktop.
@Stable
data class UiModel(val articles: Articles)
@Composable
fun Composable2(uiModel: UiModel) {
Text(text = "Hello $uiModel!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment