Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
543 views

I decided to update my project to stable Compose 1.4.0 because of some new fixes, but quickly found out that all of my LazyLists with clickable cards have become very laggy while scrolling. I make my ...
prax19's user avatar
  • 1
1 vote
1 answer
1k views

I am trying to create a chat feature in app. We would like the layout to be reversed in the column for easier scrolling. However, we cannot get the SwipeRefresh to work in this configuration if the ...
JBrown's user avatar
  • 11
2 votes
1 answer
1k views

I am using LazyColumn in my @Compsoable screen. Inside LazyColumn there are so many child and which align verticalArrangement = Arrangement.Top and horizontalAlignment = Alignment.CenterHorizontally....
Vivek Modi's user avatar
  • 7,859
0 votes
1 answer
1k views

i'am starting to work with jetpack compose. i'am creating a grid to display some Box with some text. the problem is that i get my data from my api and some might be null. So i would like to skip this ...
XCarb's user avatar
  • 997
0 votes
1 answer
1k views

I have a LazyColumn containing ToggleButtonGroups that I have created myself. My issue can be reproduced by these three steps: Select "YES" on every ToggleButtonGroup Rotate the screen and ...
BenjyTec's user avatar
  • 12.6k
1 vote
1 answer
2k views

I am making a chat bot application. I've searched in many places to solve this problem but couldn't find anything clear. I have an empty list. Bot messages and user messages are added to this list, ...
NewPartizal's user avatar
  • 1,298
1 vote
1 answer
693 views

Here's an example: @Composable fun MyList(items: List<Item>) { val lazyListState = rememberLazyListState() lazyListState.layoutInfo // Accessing this field causes MyList to recompose ...
Ahmad Hamwi's user avatar
1 vote
1 answer
2k views

I am working on nested column in jetpack compose. I have one list which is huge amount of data coming from server. I was checked in Layout Inspector and I see that whenever my item is added in list it ...
Vivek Modi's user avatar
  • 7,859
0 votes
0 answers
2k views

I have a pretty basic application in Jetpack Compose, where: First screen has a lazyColumn with many items Users can click on an item and be moved to a screen with details about the clicked item Each ...
tomerpacific's user avatar
  • 6,851
4 votes
1 answer
2k views

I have a LazyColumn where I have a contentPadding = PaddingValues(16.dp) Now, I want to add navigation bar height to the bottom padding, as to achieve the "edge to edge" effect so ...
urSus's user avatar
  • 12.8k
3 votes
3 answers
6k views

I got this error message, And I don't get it. java.lang.IllegalState Exception: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed. One of ...
c-an's user avatar
  • 4,210
9 votes
0 answers
3k views

I've created a collapsible header in Compose with the NestedScrollConnection. Everything works perfectly but one addition had to be made: automatic scrolling to a certain item. The problem I have is ...
Marc's user avatar
  • 1,194
3 votes
3 answers
8k views

There are items() {} sections inside LazyColumn. So I would like to draw a border with rounded corners around each section. Is there any method? // need to draw a border around the items LazyColumn { ...
Bakyt Abdrasulov's user avatar
8 votes
1 answer
4k views

How to select multiple items in LazyColumn and finally add the selected items in a seperate list. GettingTags(tagsContent ={ productTags -> val flattenList = ...
AndroidRocket's user avatar
12 votes
1 answer
2k views

I use Jetpack Compose UI to build a simple TODO app. The idea is to have a list of tasks that could be checked or unchecked, and checked tasks should go to the end of the list. Everything is working ...
Andrei Marshalov's user avatar
1 vote
3 answers
3k views

I am learning LazyColum in jetpack compose. I want to add Separator in my each item in some condition, please have a look on below MessageList() function. Also I'll add a screenshot to clearly ...
Vivek Modi's user avatar
  • 7,859
4 votes
2 answers
1k views

I have a lazycolumn with items, and I want to send an event every time one of the items appears on screen. There are examples of events being sent the first time (like here https://plusmobileapps.com/...
rohan's user avatar
  • 663
1 vote
1 answer
3k views

LazyColumn(modifier = Modifier.fillMaxWidth(), state = listState) { //ABC Category Items item { ABC(componentCoordinator = componentCoordinator) } //DEF Category Items ...
Anand Chaudhari's user avatar
3 votes
2 answers
3k views

I am using a LazyColumn and there are several items in which one of item has a LaunchedEffect which needs to be executed only when the view is visible. On the other hand, it gets executed as soon as ...
Ali_Waris's user avatar
  • 2,472
31 votes
7 answers
26k views

I am wondering if it is possible to get observer inside a @Compose function when the bottom of the list is reached (similar to recyclerView.canScrollVertically(1)) Thanks in advance.
AbdulMomen عبدالمؤمن's user avatar
75 votes
8 answers
80k views

Is there any way to programmatically scroll LazyColumn to some item in the list? I thought that it can be done by hoisting the LazyColumn argument state: LazyListState = rememberLazyListState() but I ...
iknow's user avatar
  • 10.3k

1 2
3