Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
89 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
0 votes
0 answers
372 views

Firebase shows many crash reports of Fatal Exception: java.lang.IllegalArgumentException from LazyListMeasureKt.measureLazyList-xxxxxx. Stack Trace does not show any line from my code either which ...
HBB20's user avatar
  • 2,978
0 votes
1 answer
191 views

i have a issue with a lazy column and a database. When i load my activity with a lazy column, the database is call to get list of tournaments. But the list is not display in the lazy column. The list ...
Tey44's user avatar
  • 19
5 votes
2 answers
3k views

I previously used a WebView to display a long text and style each word based on some business logic. However, I recently transformed this HTML content into a list of sentences and utilized a ...
imansdn's user avatar
  • 1,327
1 vote
0 answers
110 views

So, I have this is my code for LazyColumn list val selectedTongNumber = remember { mutableStateListOf<String>() } LaunchedEffect(dataTongNumber.size) { selectedTongNumber.addAll(...
Nisrina Alya Putri's user avatar
1 vote
1 answer
183 views

I am trying to collect the data and show up in lazy column but only one data is viewed each time how to get collect all but when creating a log in viewModel the entire data is showing but when viewing ...
Shiva s's user avatar
  • 917
0 votes
1 answer
1k views

I'm trying to implement simple list. When list is empty I need to show empty placeholder in the center of the screen. Here is my code: LazyColumn( modifier = Modifier ....
testivanivan's user avatar
  • 1,544
5 votes
2 answers
5k views

How can I detect when they user is scrolling up or down in a LazyColumn? I'm trying to hide an element on the screen when the user scrolls down and show it again when the user begins to scroll upwards....
androiddev321's user avatar
1 vote
1 answer
484 views

My app(jetpack compose) can reorder list's items by drag and drop. if user reorder(drag) Trip1 to up, showingTripList will be like this : [0, 1, 2, 3] -> [1, 0, 2, 3] and then, user reorder Trip2 ...
NEWPAPER's user avatar
1 vote
0 answers
251 views

Creating a module like Google Calendar's day view in my app. In this app, I can select a time from a time slot. One slot = 30 minutes. Then, the user can drag that slot up and down and the selected ...
Jahangir Jadi's user avatar
2 votes
2 answers
1k views

I want to create the reels feature with the lazy columns in kotlin where user can scroll the single item at a time not the multiple one's. I tried to use the flingBehavior = ...
Anas Mirza's user avatar
3 votes
1 answer
2k views

I am trying to zoom images which are items inside my LazyColumn but when i try to zoom in it overlaps content with the other images and the scrolling of lazycolumn also becomes too difficult var ...
Chup bae's user avatar
  • 101
1 vote
0 answers
986 views

I am trying to have a videoplayer (using ExoPlayer occupying half of the screen's height) at the top of the LazyColumn and list of items below the video player using compose. The list of items ...
srinu's user avatar
  • 11
19 votes
3 answers
4k views

I am getting IndexOutOfBoundsException when I remove items in mutableStateListOf<MyType>, where MyType is some custom Type. There are almost around 250 items in myList. The items are removed in ...
Mansoor's user avatar
  • 191
0 votes
2 answers
2k views

I have been scratching my head over this problem. I have a data class representing items that can be selected(or unselected). data class FilterItem( val name: String, val isSelected: ...
Ayush Patel's user avatar
1 vote
0 answers
480 views

I am attempting to implement a functional LazyColumn within a ScrollView in XML. Unfortunately, the nestedScroll functionality of the LazyColumn is not working as expected. I have provided a ...
E.T's user avatar
  • 11
0 votes
1 answer
2k views

I have a requirement to display a LazyVerticalGrid,LazyRow and a Label in a single screen. I tried to place LazyVerticalGrid ,LazyRow and Label in LazyColumn. The app crashes with infinite height ...
Android_programmer_office's user avatar
0 votes
1 answer
3k views

My screen has a horizontal gallery at the top (LazyRow) and beneath it has a grid of 8 buttons that can be scrolled (LazyGrid). Due to the layout the grid when scrolled doesn't affect the gallery ...
greysqrl's user avatar
  • 977
1 vote
0 answers
1k views

I am using LazyColumn in my project and it is very slow on scrolling the items. I created a very small project to show what is the problem in my code. It scroll smoothy on Pixel, OnePlus devices, but ...
Vivek Modi's user avatar
  • 7,859
0 votes
1 answer
487 views

I have code below which I experiment with LazyColumn and Column on CustomLayoutModifier on Text (or can be on anything). @Composable fun Greeting() { Column( horizontalAlignment = ...
Elye's user avatar
  • 61.3k
0 votes
1 answer
2k views

I want to remove item from the LazyColumn. I have a bunch of item in the list i.e. 200+ item. When I removed item it little bit slow. I don't understand what is the problem in my code. I am adding ...
Vivek Modi's user avatar
  • 7,859
1 vote
1 answer
75 views

I have a lazycolumn and use detectTapGestures to get the onclick event I would like to get the current firstvisibleItemIndex of the lazycolumn when I click on a Lazycolumn item Tried different ...
VFarkas2023's user avatar
2 votes
2 answers
1k views

I have been wrestling with IME padding/adjustment for my app. I have written a little toy app to try and focus on just the problem. The app presents a scrollable list of cards with info on them, the ...
Travis Griggs's user avatar
1 vote
1 answer
912 views

So, i was learning jetpack compose, and trying to make an anime index app which use paging3, pagingcompose,and lazy layout. But, even when i save the lazy state in rememberlazyliststate and ...
lelestacia's user avatar
3 votes
0 answers
398 views

There is a Viewpager 2 with 5 tabs and each tab contains a fragment. In one of these fragments, I have a compose view and also used LazyColmn inside this fragment. What happens is sometimes when I ...
Ehsan's user avatar
  • 2,801