About 50 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. How does a Composable function work in Jetpack Compose?

    Aug 30, 2023 · For every non-inline composable function that returns Unit, the Compose compiler generates code that wraps the function’s body in a recompose scope. Recompose scopes are an …

  4. 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, 4 months ago Modified 1 year ago Viewed 129k times

  5. vue.js 3 composable and reactivity - Stack Overflow

    Aug 3, 2023 · Given the following composable 'useNumbers.js' in vue.js 3, I'd like to have 'numbers' in the components reactive. But adding new values to numbers in 1 component is not reflected in the …

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

  7. android - Can we use composable functions from other classes inside ...

    Aug 30, 2021 · @Composable fun TicketView(){ //your code } Then in another file you can use the TicketView. The only requirement is that Composable functions can only ever be called from within …

  8. @Composable invocations can only happen from the context of a ...

    Apr 2, 2021 · @Composable invocations can only happen from the context of a @composable function Asked 4 years, 8 months ago Modified 4 years, 8 months ago Viewed 6k times

  9. @Composable function inside onClick event - Jetpack Compose

    Apr 21, 2022 · @Composable function inside onClick event - Jetpack Compose Asked 3 years, 9 months ago Modified 2 years, 4 months ago Viewed 16k times

  10. Can I store a composable function in a variable? - Stack Overflow

    Mar 27, 2021 · Anyway, I'm actually planning to store into a function variable, so that I can have a more dynamic composable function (e.g. store into a var instead of a val)... Just like a normal function, we …