About 9,910,000 results
Open links in new tab
  1. What does composability mean in context of functional …

    What do functional programmers mean when they say a certain thing is composable or not composable? Some of the statements of this sort that I've read are: Control structures are not …

  2. What does this do: @Composable () () -> Unit? - Stack Overflow

    Aug 30, 2023 · What does @Composable() (() -> Unit)? do? I see it defined as a parameter to OutlinedTextField in Jetpack Compose. I know @Composable() -> Unit means you pass a …

  3. How to get Context in Jetpack Compose - Stack Overflow

    42 ContextAmbient.current is deprecated as of alpha-09. AmbientContext.current is deprecated. I think as of alpha-11. LocalContext.current is how you get the context in a composable now.

  4. android - Error: "@Composable invocations can only happen from …

    Error: "@Composable invocations can only happen from the context of a @Composable function" Asked 5 years, 3 months ago Modified 11 months ago Viewed 129k times

  5. @composable invocations can only happen from the context of an ...

    Apr 11, 2023 · @composable invocations can only happen from the context of an @composable function for Composable with LaunchedEffect and AndroidViewBinding Asked 2 years, 8 …

  6. How to set text size in Android Jetpack Compose Text

    Aug 10, 2021 · XML code <TextView android:textSize="22sp" ... /> What is the corresponding Jetpack compose code?

  7. android - How to get activity in compose - Stack Overflow

    Nov 4, 2020 · Instead, setup your camera permissions in your activity, and pass down (via parameters) any information that is needed by your composable in order to render pixels.

  8. Jetpack Compose: close application by button - Stack Overflow

    May 5, 2021 · NavController can't pop programmatically the latest @Composable in the stack. I.e. popBackStack() doesn't work if it's a root page. So the application can be closed by tap on …

  9. android - Update composable when list changes - Stack Overflow

    Apr 25, 2021 · Update composable when list changes Asked 4 years, 8 months ago Modified 8 months ago Viewed 76k times

  10. android - How to call a Composable in a different module from ...

    Sep 20, 2023 · I have a simple app with an android library module. I am learning how to call a composable across modules in jetpack compose. How do you do it? Here is the MainActivity …