When I plug in fontSize = dimensionResource(id = R.dimen.textLabelTextSize) where the dimens or 54sp or 60sp depending on the device, I get an error on Text() "
I've a composable called ParentScreen and a ViewModel named ParentViewModel. Inside the ParentViewModel, I am collecting a value from my repo. class MyRepo @Inj
In the example below I can pass several composables as a function to a Column. Is it possible to pass them in any other way? Ideally, as an array of composables
I have the following composable function to build a Chip: @Composable fun CategoryChip( category: String, isSelected: Boolean = false, onSelectedCategoryC
I have couple of Path elements in my Canvas and would like to do some complex animations with every one of the Path lines. I am not sure how to approach this. L
I want to build this awesome button animation pressed from the AirBnB App with Jetpack Compose Unfortunately, the Animation/Transition API was changed recently
BottomNavigationBar() can only take the background and contentColor but there is no option for tint color.
I want to open an existing fragment from compose or if i can add inside the same compose in full screen, that will also work. Also how to navigate from one exis
I am having an Android Composable UI with a Button. How can I track button long press events? I got it working for the Text long press, but for Button, It is no
Building a simple keyboard is fairly simple and straightforward in Jetpack Compose. I built a really simple KeyRow by using this: Key.kt @Composable fun Key(mod
I have 30 users displayed in a LazyColumn. On user click, I navigate forward to UserDetailsScreen. My question, is it better to pass the ID of the user and crea
How to load images from the hard disk when using Kotlin compose on the desktop?
I think two use case of remember exist. first one is @Composable fun abc() { var aa = remember { mutableStateOf(true) } } and second @Composable fun abc()
I need to create a custom software keyboard and add 3 buttons in the top: the underline, bold, italic buttons. When clicking on the TextField I need to be able
Can anyone please point me out how to change this white background color of the app? Setting a color or background color on the Surface is having no impact. I'v
I completely confused with compose conception. I have a code @Composable fun HomeScreen(viewModel: HomeViewModel = getViewModel()) { Scaffold { val
I'm trying to get a value from LiveData with observeAsState in jetpack compose, but I get a weird error Type 'State<List?>' has no method 'getValue(Nothi
I have a single activity app using only composables for the ui (one activity, no fragments). I use one viewmodel to keep data for the ui in two different screen
How can I align the text using Text composable function vertically. Is there a way to do it without having to add another extra view to contain the Text. The te
How can I make a share button in compose, which will share a download link, I tried this but the result was different that I expected. Here is the code. Button