All Questions
Tagged with android-jetpack-compose lazycolumn
252
questions
1
vote
0
answers
18
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 = ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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, ...
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 ...
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-...
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, ...
1
vote
2
answers
183
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 ...
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,...
0
votes
1
answer
52
views
How do I move a lazy Columns contents up with the keybaord? Compose
So I am trying to make a text messaging app as a learning project. I have the text messages uploaded from firebase and loaded into a lazy column, I also have a textfield that you use to send and type ...