Skip to main content

Questions tagged [lazycolumn]

The tag has no usage guidance.

lazycolumn
0 votes
0 answers
6 views

LazyColumn items key not responding to my code in Kotlin

I am making a change in my List in the LazyColumn and added a key to the items property expecting to refresh the LazyColumn with the new List. But the LazyColumn does not refresh. What do you suggest? ...
jetberrocal's user avatar
1 vote
0 answers
17 views

How to apply AnimatedVisibility and animateItemPlacement together?

I am using androidx.compose:compose-bom:2024.06.00. The items of a LazyColumn are animated at the launch of the screen: @Composable fun SampleList(samples: List<Sample>) { val state = ...
JJD's user avatar
  • 51.3k
0 votes
0 answers
36 views

How to update the counter in LazyColumn items that are out of focus?

I have a LazyColumn list, in which, when I add an element to it, when the “add” button is pressed, the element has a timer that starts counting, everything is fine here, but when there are more ...
Alex's user avatar
  • 3
0 votes
0 answers
39 views

Compose Lazy Column is very Laggy while scrolling

In my compose Application I have a simple list with LazyColumn but I'm facing a lag when I scrolling specially at first In my list I have a image loading and had some conditions but I remove those ...
amirhesni's user avatar
  • 459
0 votes
1 answer
26 views

Avoid verticalArrangement spacing when child item is not added on LazyColumn

Currently, we are developing an app using SDUI. In which, on the parent screen mapper, we are placing Scaffold and LazyColumn. On the child level widget mapper, we are placing the items. We have ...
Viks's user avatar
  • 1,554
0 votes
1 answer
48 views

Box lose shape while scrolling LazyRow

I have a problem, when i scroll my LazyRow, boxes which going out from it lose their shape. I am using a modifier.clip(RoundedCornerShape(20.dp)) and if item is visible in row it clips, but if not it ...
Егор Сауткин's user avatar
0 votes
1 answer
51 views

How to compatible with two different list for LazyColumn/LazyRow?

I have a Custom Composable Calendar, here I try to add a functionality to switch between month view and week view. The point of the code is below: LazyRow { items( key = { page -> state....
Fan Applelin's user avatar
0 votes
0 answers
63 views

Compose. Scrolling a list with hiding SearchBar

Good day. The task is to put a SearchBar at the top of the list so that when scrolling the list the search is hidden. The behavior is somewhat similar to topappbar. Attempts to install search in the ...
Biller Roman's user avatar
0 votes
1 answer
88 views

Jetpack Compose: LazyRow Scroll Percentage?

I am trying to implement a scroll indicator on LazyRow. Ideally it would transition smoothly while scrolling, but I read that it is not possible because we only have access to the ...
Felipe Ribeiro R. Magalhaes's user avatar
0 votes
1 answer
38 views

Two LazyColumn on one screen with common scroll

I need to implement two LazyComuns on one screen, one below the other (by clicking on an element in the top list, it will go to the bottom and vice versa), and the screen should have 1 common scroll, ...
Sunbey13's user avatar
  • 393
2 votes
0 answers
66 views

jetpack compose - shared scrollstates with lazyrow and columns

Im able to get my lazyrows on the right to vertically scroll with my lazycolumn on the left. The lazyrow will vertically scroll individually but when i try to get only the multiple lazyrows to scroll ...
Jason Kobischka's user avatar
0 votes
0 answers
45 views

Problems Implementing Drag Drop In LazyColumn

I am trying to implement drag-and-drop reordering in a LazyColumn in a Compose app. I am using a ViewModel and a Room database to store the values. While I have successfully implemented the drag-and-...
Reşit Şahin's user avatar
1 vote
0 answers
47 views

Android how to control item animation direction? RecyclerView + LazyColumn

i want to know how to achieve list item animation like this (video here)? in the video, the animation is quite special, generally speaking, if you scroll up the list, the item animation is downwards, ...
Tan Telephone's user avatar
1 vote
2 answers
179 views

Display different composable item in Multi type Lazy Column after every 5th Item in Jetpack Compose

I have two lists, number list of length 200 and and alphabet list of length 26. Both lists have different composable items to show them i.e NumberItem() and AlphabetItem(). I want AlphabetItem() to be ...
CodingDevil's user avatar
0 votes
0 answers
19 views

FlingBehavior ignored on screen rotation / missing snapping after screen rotation

I have a LazyColumn with a SnapFlingBehavior. Everything works as expected when scrolling. However, on initial screen display as well as on screen rotation, the snapping is missing. How can I fix that,...
me.at.coding's user avatar
  • 16.6k

15 30 50 per page
1
2 3 4 5
18