About 15,600,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. android - Update composable when list changes - Stack Overflow

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

  3. 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 128k times

  4. 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.

  5. 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 …

  6. android - How to pass a value from a composable function to …

    One of the fields is the dropdown menu (another composable) of the currencies. Once you select a currency and return to the main form the name of currency should somehow be passed back …

  7. 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?

  8. Android: Jetpack compose: How to create a button with an Icon in …

    Nov 26, 2022 · This question is more about why Jetpack compose is so unintuitive. I am trying to better understand this library. With the below composable fun RoundedButton(modifier: …

  9. android jetpack compose - error: @Composable invocations can …

    Dec 14, 2022 · error: @Composable invocations can only happen from the context of a @Composable function Asked 2 years, 11 months ago Modified 11 months ago Viewed 7k times

  10. How to pass MutableState<Boolean> to a Composable in Jetpack …

    Nov 14, 2024 · The reason I want to use MutableState is that this variable will be changed in the child composable. You should not do that. Jetpack Compose uses the unidirectional data flow …