About 22,100,000 results
Open links in new tab
  1. What does composability mean in context of functional programming?

    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 composable. T...

  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. android - Error: "@Composable invocations can only happen from the ...

    Error: "@Composable invocations can only happen from the context of a @Composable function" Asked 5 years, 3 months ago Modified 12 months ago Viewed 129k 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. 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?

  6. @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 months ago …

  7. Use of LaunchedEffect vs SideEffect in jetpack compose

    Sep 21, 2022 · SideEffect function can be used for operations that should be invoked only when a successful recomposition happens Recomposition starts whenever Compose thinks that the …

  8. android - How to pass a value from a composable function to another ...

    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 from …

  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 jetpack compose - error: @Composable invocations can only ...

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