lazycolumn Questions
2
Solved
I have a LazyColumn with nested LazyRows (similar to Netflix or Spotify home page feed). In short, the issue I'm having is that when the content of the page changes, the scrolling positions of the ...
Boating asked 22/10, 2022 at 14:29
1
Solved
So here's an odd one, I think. I'm showing a list of Textfields in a LazyColoumn. The user can remove each of the textfields, but when doing so, it copies the value from REPLACE textfield.
What's...
Whitehead asked 9/11, 2022 at 20:46
1
Solved
I have a list which is stored inside a Viewmodel via Stateflow.
class FirstSettingViewModel : ViewModel() {
private val _mRoomList = MutableStateFlow<List<InitRoom>>(mutableListOf())
...
Ptah asked 7/11, 2022 at 8:12
1
Solved
native composable column with elements a, b and c:
a
b
c
how can you reverse arrangement to:
c
b
a
in android jetpack compose
Asper asked 4/11, 2022 at 19:19
2
Solved
PROBLEM ::: I want to create a lazy column where I can select or deselect only one option at a time. Right now, whenever I click on row component inside lazy column, all the rows get selected.
CODE...
Fixate asked 2/11, 2022 at 21:58
1
Solved
I'm creating an app that, among other things, enables the user to add a Consumer, and then remove him later. The consumers are shown in cards with a remove button in the end.
Adding a consumer wor...
Kopple asked 25/10, 2022 at 6:28
1
Solved
I'm getting data from the server and displaying it in the list, each item can be selected with one click to display the button, but I cannot close it, I can only open it.
This is item of list class...
Insolvable asked 21/10, 2022 at 9:13
3
Solved
How to calculate empty space in lazy column after last visible item in Jetpack compose.
Barranca asked 10/10, 2022 at 7:5
2
Solved
I tried to look for reasons to use LazyColumn vs Column with verticalScroll. What is the difference between them? Like why would one be an ideal choice compare to other. They both make screen scrol...
Essam asked 15/9, 2022 at 16:58
2
For example, I have MyBottomSheetDialogFragment with Compose LazyColumn code in the application:
class MyBottomSheetDialogFragment : BottomSheetDialogFragment() {
override fun onCreateView(
infla...
android-jetpack-composeandroid-bottomsheetdialogbottomsheetdialogfragmentandroid-jetpack-compose-listlazycolumn
Clincher asked 14/1, 2022 at 12:32
2
I have a composable function that looks something like this:
@Composable
fun listScreen(context: Context, owner: ViewModelStoreOwner) {
val repository = xRepository(getAppDatabase(context).xDao()...
Wedged asked 12/9, 2021 at 0:13
1
Solved
What's the best way to animate insertion and deletion animations in lazy column or row with multiple item types similar to how it's done using DiffUtil?
Frug asked 7/6, 2022 at 21:57
2
I'm going to put a label on the top for each column and a LazyСolumn on the bottom. As follows.
However, when I filled it out, the screen other than I expected appeared:
Is there anything else I ...
Haletta asked 18/11, 2021 at 0:21
1
I didn't find any way to have a stickyHeader on the same line as an item in a LazyColumn:
So I used a Box to put the letter with its background on top of the LazyColumn and used the LazyListState ...
Architecture asked 20/2, 2022 at 11:52
2
Solved
I'm working on a shopping cart feature for my app. I'm looking to add/decrease quantity of each list item in LazyColumn individually. I'm using only one "remember" so if I click on add/de...
Robotize asked 10/4, 2022 at 13:50
1
Solved
I am wrapping an AdManagerAdView in an AndroidView so I can use it in Jetpack Compose. The image fails to load when I use it in a LazyColumn AND the AdManagerAdView tries to load the image before t...
Blockus asked 30/3, 2022 at 17:50
1
In my homepage I have a lazycolumn which one of items is Horizontal pager. Inside each horizontal pager there are some pages that I need to have lazyColumn inside them too. and the error is that yo...
Proudman asked 18/12, 2021 at 7:0
2
Solved
Problem - scrolling downward causes the bottom sheet to scroll rather than giving scroll priority to the LazyColumn (RecyclerView did not have this problem. It was wrapped by a NestedScrollView)
I'...
Flosser asked 29/10, 2021 at 14:42
3
Solved
Say I have a list of items in a LazyColumn and they can all be selected. How can I make sure when an item is selected, the others are deselected (so only 1 item can be selected at once)?
I was thin...
Dotti asked 22/10, 2021 at 7:55
© 2022 - 2024 — McMap. All rights reserved.