Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
65 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
  • 820
0 votes
0 answers
32 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
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
1 answer
79 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
3 votes
1 answer
80 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
1 vote
1 answer
298 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
1 answer
123 views

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
  • 400
0 votes
0 answers
99 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
142 views

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
  • 57
3 votes
1 answer
728 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
  • 70k
0 votes
1 answer
754 views

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
  • 647
0 votes
1 answer
615 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
0 votes
0 answers
103 views

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

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

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
3 votes
0 answers
114 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
3 answers
930 views

I'm using a LazyColumn with a maximum width of 600.dp in Jetpack Compose. I want one specific item in the list to stretch and occupy the full screen width. Is there a way to achieve this without ...
GTID's user avatar
  • 648
1 vote
1 answer
285 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
1 answer
255 views

I am trying to implement a chat screen that works the same way as the JetChat compose sample. However when I modify the code to use a Flow I am getting an issue The issue is that when working with a ...
Fred's user avatar
  • 121
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
0 votes
0 answers
101 views

Jetpack Compose LazyVerticalGrid Recompose Entire List on Item Click I am working on an Android project using Jetpack Compose to create a movie list application. I want to update the posterPath of a ...
S.irmak's user avatar
  • 19
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
1 vote
1 answer
445 views

I built a complex lazyColumn composable that mimic a card (indeed, I need to have a list of cards containing potentialy many items each, and nesting a LazyColumn in a Card is not possible (due to the &...
Uguzon's user avatar
  • 73
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
4 votes
1 answer
548 views

This code does not work as expected. I want lazy column to automatically scroll up to display the entire height of the card when expanded. val listState = rememberLazyListState() val coroutineScope = ...
Ibtihaj's user avatar
  • 71
2 votes
2 answers
444 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
45 views

I want to implement nested sticky headers with Jetpack Compose. Jetpack Compose already supports Sticky Headers. But I can't find way to implemented nested headers. See requirement demo:
Akshdeep Singh's user avatar
1 vote
0 answers
201 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
-1 votes
2 answers
2k views

I'm getting the following error: java.lang.IllegalStateException: Asking for intrinsic measurements of SubcomposeLayout layouts is not supported. This includes components that are built on top of ...
Vishal's user avatar
  • 42
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
69 views

It's so slow, it's almost unusable. Release build doesn't make much difference unless the the outerLists size is around 2 Tried: My searches did not yeild anything i can undertand. I tried looking ...
user152626's user avatar
1 vote
0 answers
468 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
0 votes
0 answers
257 views

I'm trying to simulate a launcher app. It has a main main screen and an apps drawer. I've implemented this with a VerticalViewPager: page 0 is the main page and page 1 is the app drawer. That way, I ...
Pion Developer's user avatar
1 vote
1 answer
151 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
0 votes
1 answer
40 views

I'm trying to get matches by date from a football API and show them grouped by league. So, I've made a mutable list in ViewModel to store every match item with the fixtureId as its unique identifier. ...
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
1 answer
362 views

I am using the below code to create an infinite scrollable list in compose android. I am detecting the last item and then making a network request to get the next items and then adding them in the ...
Vicky's user avatar
  • 1,956
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
1 vote
0 answers
59 views

I'm sorry for the long title, but it's a little difficult to explain. I have a LazyColumn Composable into a FragmentContainerView. This container at the same time into a ConstraintLayout, sharing the ...
mcventur's user avatar
2 votes
0 answers
168 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
1 vote
0 answers
757 views

I have a basic SnapshotStateList that I add and remove items from. It's stored in a MutableStateFlow along with the rest of the UI state for this screen, and exposed as a StateFlow to the composables, ...
Alexis Purslane'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
2 answers
291 views

I am new to Android Development and I just wanted to implement a LazyColumn with some custom composable inside (while doing the Coursera Meta Android Development course). Unfortunately, every time I ...
ufghd34's user avatar
  • 168
1 vote
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,819
0 votes
1 answer
782 views

I have a LazyColumn in which items() exist that holds 5 checkboxes, and the state of these can be controlled by a single parent variable as well as with a specific variable. The code is below: val ...
nyefine's user avatar
  • 188
3 votes
0 answers
350 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
3 votes
0 answers
360 views

given LazyRow inside LazyColumn. when I start to scroll LazyRow horizontally when I lift my finger off the screen (so the list keeps scrolling) when I try to scroll up-down (not left-right) then I ...
Slava's user avatar
  • 1,302
0 votes
1 answer
95 views

I'm trying to follow an online course to fetch images from Unsplash to view these images inside a LazyColumn, and I also followed all guidelines inside Unsplash Documentation. But the images or other ...
Mahmoud Nabil's user avatar