Skip to main content

All Questions

0 votes
0 answers
22 views

touch-transparent LazyColumn

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

Nesting a LazyColumn inside a scrollable Column - Jetpack Compose

I'm trying to nest a LazyColumn inside a scrollable Column in Jetpack Compose. I want the LazyColumn to vary in height with its contents until it reaches a maximum height of half the screen (in other ...
Courtney Allen's user avatar
1 vote
0 answers
32 views

Jetpack Compose LazyColumn – Stack Scrolling effect

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
0 votes
1 answer
75 views

LazyRow non-observable firstVisibleItemIndex?

I'm tring to find max() on a subset of initial data before laying out an item of a LazyRow. The subset will consist of only visible items and I need to read firstVisibleItemIndex without triggering ...
cora32's user avatar
  • 402
0 votes
0 answers
65 views

StickyHeader with pagination in Jetpack Compose

I tried adding a stickyHeader as suggested in this answer. However, the performance is not close to the production-ready code because of the loop as my list is a bit bigger. Here is my attempt: ...
Safeer's user avatar
  • 1,467
3 votes
1 answer
120 views

ModalBottomSheet in LazyColumn contains wrong data

I have a list with a few records. Every record has a city, country, date and id (its primary key). In dao, then repository I have function which accepts id. Finally display list it's fine, but problem ...
joj's user avatar
  • 37
2 votes
1 answer
391 views

How to compose items that are offscreen with LazyColumn or LazyRow?

This is a share your knowledge, Q&A-style question to create a follow up answer to create a Lazy list(Column, Row, Grid) that can compose more items than default behavior allows which is the next ...
Thracian's user avatar
  • 68.2k
0 votes
1 answer
436 views

Sticky header doesn't stay at bottom of screen when LazyColum list of items is small

I am implementing a chat app using a LazyColumn. I've created this with reverseLayout = true because I want the LazyColumn to automatically scroll to the last message when the view and keyboard first ...
GVG's user avatar
  • 619
0 votes
1 answer
192 views

Why does LazyColumn with inner .animateItem() not animate the LazyColumn height properly on item changes when not full height?

I want the LazyColumn height to be exactly the same as the items while still animating them via .animateItem(). With the code below, it looks nice but it uses .fillMaxHeight() which doesn't fit my use-...
Dima's user avatar
  • 442
0 votes
0 answers
59 views

How to fix that LazyColumn always swallows mouse clicks, even when no items are visible?

I have this code and I want to always display an area which displays notifications in a corner of the window. Here, I have the issue that LazyColumn always swallows any clicks, regardless if any items ...
Dima's user avatar
  • 442
1 vote
0 answers
121 views

Jetpack Compose BottomSheetScaffold with LazyColumn rendering too many items and occupying extra space

I am developing an Android app using Jetpack Compose. In my app, I am using the Morfly Advanced Bottom Sheet for convenience, which is very similar to the Material3 BottomSheetScaffold as it is built ...
Amin's user avatar
  • 113
1 vote
0 answers
104 views

Go to a specific item in LazyColumn with index using Paging3 on initial load

I am building a social media app that has a profile page. On it, the user can browse their posts from a vertical grid list. Each post has an id(UUID), authorId(UUID) and an image. When the user clicks ...
Nikolay Ch's user avatar
1 vote
1 answer
87 views

Making Tabs with scrollable content scroll alongside parent composable - IllegalException: Infinity maximum height

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
1 vote
1 answer
215 views

How to switch focus from ModalNavigationDrawer to LazyColumn on Android TV using Jetpack Compose?

I am using Jetpack Compose for Android TV. For navigation drawer I use ModalNavigationDrawer. One of items in drawer is Home. Here are two scenarios: When I press Home in navigation drawer, it opens ...
llama_glama's user avatar
2 votes
0 answers
79 views

Lazy Column/Row are not passing the touch events below | pointerInteropFilter is not working

After updating to the latest compose-bom 2024.09.00, Lazy Column/Row are not passing touch events to below composables. Code Block: @OptIn(ExperimentalComposeUiApi::class) @Composable fun ...
Muhammad Naveed's user avatar

15 30 50 per page
1
2 3 4 5
9