Skip to content

Instantly share code, notes, and snippets.

@fvilarino
Created November 29, 2023 23:15
Show Gist options
  • Save fvilarino/be6984c9a8b5cc0cb78590c2b5933563 to your computer and use it in GitHub Desktop.
Save fvilarino/be6984c9a8b5cc0cb78590c2b5933563 to your computer and use it in GitHub Desktop.
Stability - Stable Composables
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun SampleUi(
stable state: State
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun PrimitivesMethod(
stable value: Int
stable prompt: String
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun CollectionsMethod(
stable values: Set<Int>
stable prompts: List<String>
stable modifier: Modifier? = @static Companion
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment