Implement text formatting in my android note app
So the feature I want is that I want to select the text and should be able to bold it or make it italic etc.
LaunchedEffect(true) vs LaunchedEffect(Unit)
I’m working on implementing MVI using compose.
ERROR: Composable Functions Must Be Called Within a Composable Context
“@Composable invocations can only happen from the context of a @Composable function“ I’m new to jetpack compose and constantly getting this error “@Composable invocations can only happen from the context of a @Composable function” on adding icon and label in the Text Field. @OptIn(ExperimentalMaterial3Api::class) @Composable fun EditNumberField( value: String, @StringRes label: Int, @DrawableRes icon: Int, […]
RecyclerView LayoutManager functionality in LazyColumn or LazyRow?
how to get Recyclerview LayoutManager functionality in Jetpack compose?
Android studio preview isn’t rendering
When I try to render a preview of my code I get this error:
java.lang.ClassCastException: class com.android.layoutlib.bridge.android.BridgeContext cannot be cast to class android.app.Activity (com.android.layoutlib.bridge.android.BridgeContext and android.app.Activity are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @6e464f5e)
Why doesn’t line height changed?
I have the following compose function:
Why doesn’t UI Check Mode show all cases?
Android compose has a beautiful functionality called UI check mode
allowing to find out fast if your app has any issues on other screen sizes. But for some reason after pressing Start UI Check Mode
button i don’t see all cases. Android Studio shows me only a few. For example like this:
Remove auto modifier from compose function in Jellyfish
After updating Android Studio to Jellyfish, when I try to create a compose function using the “comp” keyword, the modifier is automatically added as a parameter to the function, how do I disable this?