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