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

I'm building a chat screen using Jetpack Compose with a LazyColumn. During loading, I show a shimmering placeholder with a large height. Once the real data arrives, the content shrinks because the ...
Fazle Rabbi's user avatar
1 vote
1 answer
144 views

We have a LazyColumn which has a loading state and then shows the received data. In the second stage, the final view can be smaller than the shimmering views depicting the loading stage. So, if while ...
msc87's user avatar
  • 1,047
0 votes
0 answers
70 views

I started a new app dedicated to Android TV platform. I try to display an Activity containing 2 or 3 columns using LazyColumn components. Each column are displayed correctly with the data in my lists....
arnouf's user avatar
  • 818
3 votes
1 answer
135 views

I'm building a chat interface in Jetpack Compose using a LazyColumn. When a user sends a new message I want their latest message to appear at the top, and older messages should scroll up automatically....
Pawandeep Singh's user avatar
0 votes
1 answer
80 views

I have issue that I cannot resolve - forgetting list state. I have single LazyColumn which has some items and I also have list of categories users can choose from eg. All, Favourite, Subscribed etc. ...
Cuyer's user avatar
  • 76
0 votes
1 answer
72 views

I wanted to make header sticky header for relevant header. Which is expandable. data class Section( val header: String, val items: List<String> ) val sections = listOf( Section(&...
Surendra's user avatar
3 votes
1 answer
136 views

After navigating to the screen, the data is retrieved through ViewModel and Room, but LazyColumn won't update, only after scrolling. I'm using a data class to create a list of sections called ...
JaimeHdz's user avatar
2 votes
1 answer
88 views

It seems like LazyColumn is losing state on rows when moved between different item calls even though they're keyed. It was my understanding that if two items existed with the same key the composable ...
Henry Twist's user avatar
  • 6,072
1 vote
1 answer
150 views

I am struggling around with this extra padding and provided here a small sample code. What is causing the extra padding added between the text field and the software keyboard (when opened)? Expected ...
rsp's user avatar
  • 109
1 vote
1 answer
102 views

I'm using Jetpack Compose and have a LazyColumn that displays a list of Card items. When the user performs a onLongClick on one of the cards, a selection mode is triggered: A selection icon appears on ...
Ahmad Njres's user avatar
1 vote
2 answers
90 views

I have a LazyColumn in Jetpack Compose and I want one of the items (let’s call it a “highlighted block”) to always sit at the bottom of the visible viewport, even when the list is short. In a regular ...
Нурик Курбанов's user avatar
0 votes
0 answers
36 views

I want to make a LazyColumn that will overlay the main ui and ignore user's touches so user will interact with main ui. how can I do that? I've tried to make LazyColumn unclickable but it didn't help ...
xto ya's user avatar
  • 1
0 votes
2 answers
157 views

I need to nest a lazycolumn inside a horizontalpager, and I need the lazycolumn to have a verticalScroll(scrollState) to remember the current scroll between screen/orientation changes. I created this ...
NullPointerException's user avatar
1 vote
1 answer
80 views

I want to make some item swap mechanism in LazyColumn items. For this I have used itemIndexed but after a swipe, index numbers becomes the same. For example if I swap first item with second the item ...
Surendra's user avatar
0 votes
0 answers
128 views

I am working on an android application but I am not very familiar with jetpack compose. I want to display videos as items in a lazy column but some videos don't load and just display a black view or ...
Maxime DELESCOT's user avatar
3 votes
1 answer
88 views

I’m trying to implement a stack scrolling effect in Jetpack Compose using a LazyColumn. The idea is that the topmost item remains anchored while the items below scroll up and stack on top of it. ...
Gopikrishnan S's user avatar
2 votes
1 answer
392 views

I'm still learning compose/kotlin and have come up with a problem that seems very common, but I can't find a solution. I have a LazyColumn with animation--that works great for making additions and ...
SMBiggs's user avatar
  • 11.8k
3 votes
1 answer
80 views

I want to implement a UI in Jetpack Compose where I have a LazyVerticalGrid. When I click on a single grid element, it should expand and display a detailed list of the (initially hidden) sub-items of ...
Tirumal Phutane's user avatar
0 votes
1 answer
344 views

so i have a jetpack compose tv project and on the home screen i have a tvlazycolumn and inside it i have item{} having multiple of these : if (resultItem.thumbnailType?.name.equals( ...
Priyanshu Raj's user avatar
-1 votes
1 answer
87 views

New to Jetpack compose, can someone explain why when i select an item in LazyRow and pass that url to the Image it will recomposed the whole row again? HOw should i be using the movieSelector variable?...
intel3's user avatar
  • 1
-1 votes
2 answers
132 views

I mean a Drawable generated dynamically, not a file from res/drawable. I tried setting it as a background of the modifier, but it doesn't accept a Drawable instance object. In Java, it was done like ...
NullPointerException's user avatar
2 votes
1 answer
125 views

I was building an app the uses Basic Text Field. When I try to update the value of Basic Text Field, it won't work unless you recompose it. val textX = remember{ mutableStateOf("Text")} ...
Aman's user avatar
  • 86
2 votes
1 answer
593 views

When I'm trying to use Lazy elements with my data list application are crashing. This crash has next scenario: Calling NavHost for screen with Lazy provokes little freez and restart app. After ...
Pavlo Muravyov's user avatar
1 vote
1 answer
113 views

I have a composable screen which has some content, then a TabRow, which holds different screens (depending on the selected tab). The tab screens contain scrollable data and this is shown using a ...
muoki_D's user avatar
  • 409
3 votes
1 answer
2k views

I am using stickyHeader with LazyColumn, and I want to expand and collapse the items under each header when the header is clicked, with smooth animations. I've implemented this behavior using ...
Ali Asjad's user avatar
  • 2,215
2 votes
2 answers
123 views

How can I align horizontally a particular children in a LazyColumn? it worked perfectly using Column, but it doesn't work in LazyColumn because I can't import Modifier.align for each particular item ...
NullPointerException's user avatar
1 vote
1 answer
287 views

I have an app using LazyColumn. On my device, when there are insufficient items to fill the column, it's vertically spacing them equally with large gaps in between, even though I've specified ...
BobDoolittle's user avatar
  • 1,892
1 vote
0 answers
44 views

Jetpack compose In my app's homescreen there are 2 lazyrows containing same itemCards and same content , when testing on my phone when i scroll right on the first row its smooth and ok but when i ...
realHKV's user avatar
  • 11
1 vote
0 answers
187 views

I need to implement custom scrolling behavior involving a LazyColumn on a page. I'll break down the explanation into three stages for clarity. Simplified, it looks like this: 1) Initial Position: The ...
glllobys's user avatar
3 votes
2 answers
495 views

I am having a composable named ProjectCard. Inside that, I have an AsyncImage composable to retrieve project's icon from Firebase Storage (in case it is supposed to be already uploaded there). In the ...
Sujal Kumar's user avatar
  • 1,204
1 vote
1 answer
111 views

In my application I get the list of films by api and can add them to the list of favourites which is stored in the database room. So on the screen with the list of favourite films when I try to delete ...
alexxelo's user avatar
0 votes
1 answer
481 views

I want to have a vertical lazy list of items where each item take parent width when horizontal scroll isn't available, otherwise max IntrinsicWidth among all children. I know roughly how to do this ...
Reosfire's user avatar
1 vote
0 answers
81 views

I was trying to achieve a lazy column with custom behavior. When the user pulls the lazy column after they reached the limits, I would show a refresh indicator by using the offset. The problem is, ...
Farid Guliyev's user avatar
-1 votes
1 answer
326 views

I want to recompose a LazyColumn after I change it's List. I found a solution but it is not working as I expected. Now the LazyColumn does recompose but on every change the SnapshotStateList use the ...
jetberrocal's user avatar
6 votes
0 answers
455 views

I'm working on a Jetpack Compose app having a Scaffold layout. My layout includes a title, a tab bar, and a LazyColumn. I want to create a gradient background that scrolls with the LazyColumn content ...
Bhoomi Vaghasiya's user avatar
0 votes
1 answer
40 views

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
2 votes
0 answers
67 views

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
  • 52.7k
0 votes
1 answer
54 views

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,584
-1 votes
1 answer
139 views

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
168 views

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
1 answer
396 views

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
649 views

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
  • 467
2 votes
0 answers
101 views

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
1 vote
0 answers
64 views

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
960 views

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
1 answer
352 views

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 ...
dom Snip MrSnowmanson's user avatar
0 votes
1 answer
2k views

I am implementing a pagination or load more data, whenever LazyVerticalStaggeredGrid/LazyColumn reaches the end/last item. Everything works as expected however, when the data load more function, the ...
Dnyaneshwar Patil's user avatar
1 vote
2 answers
2k views

Scenario: I have two similar Composable functions that display similar lists of data via LazyColumns, each having their own rememberLazyListState variables. @Composable fun ListA(listData: List<...
MajinKenn's user avatar
  • 109
0 votes
0 answers
62 views

Android LazyColumn OutOfMemoryError To display all font styles in the font folder(res/font) with LazyColumn: font folder(res/font) has many ttf file. @Composable fun TextTtfLearn(){ val context: ...
ITGuoKe's user avatar
1 vote
0 answers
55 views

When navigating from the Settings screen to the Language screen, which contains one LazyColumn of three rows, it throws this exception: IllegalStateException: Vertically scrollable component was ...
Mahmoud Nabil's user avatar

1
2 3 4 5 6