Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

I used the following code in Jetpack Compose to position items in the center of the screen and I succeeded, but when I click on the item, the item moves down and the flingBehavior effect disappears. ...
Halil İbrahim Karacan's user avatar
0 votes
0 answers
28 views

I am using Paging3 to show list of transaction from DB. All the transaction data is fetched from backend service and saved into DB in background. For my transaction list DB is the only source of truth....
VIKAS SHARMA's user avatar
0 votes
1 answer
70 views

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

I'm working on a Jetpack Compose app where I have a LazyColumn displaying a list of items. Each item is wrapped in a Surface with a clickable modifier, but clicking the items doesn't seem to work. I'...
Hugo Oliveira's user avatar
0 votes
0 answers
91 views

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,477
3 votes
1 answer
692 views

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
  • 69.9k
0 votes
1 answer
593 views

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
  • 463
1 vote
0 answers
147 views

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
1 answer
105 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
0 answers
107 views

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

I have a screen with two tabs to display sweet and salty foods but they are the same paging items source with different filters - for this example it's going to be a boolean, when it's true the ...
Matheus César's user avatar
3 votes
2 answers
2k views

I've developed a simple Android application where you can insert new items into a list on a button press. New items pop up instantly, it looks sloppy. I've tried to animate their insertion, but it's ...
Bob Rasner's user avatar
0 votes
1 answer
35 views

I want to show the list of customer's names in lazy column, so i created a list variable and used clicableText composables inside it, so that each item can be clicked, then i want to use it inside a ...
Soonha Soomro's user avatar
2 votes
2 answers
442 views

In Jetpack Compose, I have a LazyColumn with multiple stickyHeader items. By default, the stickyHeader items will stick to the top of the LazyColumn as you scroll down. Is there a way to alter this ...
SilentByte's user avatar
  • 1,230
1 vote
0 answers
200 views

I have a complex list based UI that is based around scroll events. It's laid out in the following order TextView Tablayout --> Each tab is a textview of a LazyList section header LazyList ...
user1743524's user avatar
0 votes
0 answers
57 views

How do I reflect changes in some values ​​in the List to LazyColumn in real time? val postDataList = postViewModel.postDataList.collectAsLazyPagingItems() LazyColumn( modifier = Modifier ...
HamTory's user avatar
  • 121
1 vote
0 answers
459 views

Using jetpack compose to create an APP for TV platforms and I've been trying to create a Vertical List of Horizontal Lists using a LazyColum/LazyRow having a enter Focus (first item Top Left), when ...
daduck's user avatar
  • 386
1 vote
1 answer
147 views

I want to make API data appear in groups inside a LazyColumn. I've achieved my purpose when the required API data is a List of Lists of Objects response, but I don't have any idea how to make it work ...
Mahmoud Nabil's user avatar
1 vote
3 answers
2k views

I am making a chatting app with android compose. Usually, when you scroll freely within the chat window and press the text input window to bring up the keyboard, the chat at the bottom of the screen ...
H.JiMan's user avatar
  • 390
0 votes
3 answers
2k views

I am using Paging3 with RemoteMediator for getting remote data, saving it in Room database and showing it in my Composable screen. On item click, opens detail screen and can update the data of that ...
alGhul7's user avatar
  • 163
2 votes
0 answers
164 views

I have LazyColumn with nested LazyRow lists. Each row use Flow<PaginData<UiObj>> for showing data. LazyColumn() { items( items = showcaseRefList, ...
Paul Yurkin's user avatar
2 votes
1 answer
2k views

I have a problem, animateItemPlacement in my LazyColumn simply doesn't work, code: val laps = stopWatchViewModel.getLapsStates().collectAsState(initial = emptyList()) LazyColumn( modifier = ...
Егор Сауткин's user avatar
0 votes
1 answer
1k views

I have a ViewModel class: class ItemsModel : ViewModel() { private val _tasks = MutableStateFlow<List<TaskItem>>(listOf()) val tasks = _tasks.asStateFlow() fun onTaskDone(...
Mark Delphi's user avatar
  • 1,809
3 votes
0 answers
344 views

I have a LazyColumn with items that have subsections, that appear and disappear on click. I want to animate the items content size change: when I click on an item, I want to reveal its subsection (or ...
Youb's user avatar
  • 235