lazycolumn Questions
2
How to add a lazy column inside another lazy column in jetpack compose like below screenshot.(The inner list size maybe vary)
@Composable
fun SingleItem() {
LazyColumn(modifier = Modifier
.fillM...
Bandoline asked 5/9, 2022 at 12:42
6
I take an example from this codelab
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View {
return ComposeView(requireContext()).apply ...
Starspangled asked 18/10, 2021 at 9:1
5
I have a LazyColumn holding some Items. I listen a Flow from Room and everything works great when reverseLayout = true. When new Item get inserted into the database, the LazyColumn scrolls to the b...
Homeless asked 4/5, 2022 at 10:15
2
Solved
My current Android Jetpack Compose project contains a number of lists and grids.
I would like to animate the initial population of my lists and grids to bring some life to my application.
I have fo...
Blucher asked 23/11, 2022 at 15:29
1
When I have a large list of items, OR when i don't have large list of items but each with component renders slowly, the rememberLazyListState.scrollToItem OR rememberLazyListState.animateScrollToIt...
Freethinker asked 9/8, 2022 at 23:11
3
I have a lazy column with lazy rows inside it, like in the image:
I am testing on a 2017 middle-quality phone with Android 9. Release build with R8 enabled.
Scroll performance in rows are pretty g...
Robins asked 14/1, 2023 at 16:16
4
Solved
I am using ComposeView inside my recyclerview item layout to work with jetpack compose. I am getting weird issue when I open screen
Error
java.lang.IllegalStateException: Vertically scrollable comp...
Clydeclydebank asked 29/7, 2022 at 10:39
7
Solved
Currently in Jetpack Compose, this code throws an IllegalStateException because you cannot nest two vertically scrolling Composables:
@ExperimentalFoundationApi
@Composable
fun MyLazyColumn() {
La...
Katzen asked 26/9, 2021 at 15:55
2
I am using a LazyColumn in a checklist like style. The list shows all to-be-done items first and all done items last. Tapping on an item toggles whether it is done.
Here is an MWE of what I am doin...
Traffic asked 3/12, 2022 at 17:16
4
I have a LazyColumn inside a Composable, I want to check every item in that LazyColumn is exist.
This is my composable:
(Note: Actually in my real case the each item has different component, I just...
Gamber asked 23/4, 2023 at 13:20
4
I am trying to show a list of Orders in a list using LazyColumn. Here is the code:
@Composable
private fun MyOrders(
orders: List<Order>?,
onClick: (String, OrderStatus) -> Unit
) {
ord...
Cnidoblast asked 10/7, 2021 at 14:54
2
I am experimenting with Android's Jetpack Compose.
For simple use cases everything is working as expected,
but I am having some trouble with missing recompositions for a more advanced case.
My Mode...
Homolographic asked 25/10, 2021 at 15:53
2
The issue is the very similar to the one discussed here for Flutter, but happens in native Android using Jetpack Compose:
Is there a way to dynamically add bottom padding to a (Lazy)Column so its c...
Bracket asked 11/11, 2022 at 12:32
0
In compose ui, lazy column or row, there is no default option to show scrollbar like in xml(android:scrollbars="vertical").
<android.support.v7.widget.RecyclerView
android:id="@+...
Interior asked 8/6, 2023 at 7:53
1
Solved
I just learned jetpack compose and I switched from recycle to lazy column but when I do it it lags much more than recycle
after adding about 100 items to the application the app is lagging, is ther...
Critic asked 26/4, 2023 at 3:33
5
I am struggling with the jetpack compose LazyColumn and the stickyHeader functionality. Basically the static view works well, but once I start scrolling, the items would go over the sticky headers,...
Ultimatum asked 13/6, 2022 at 13:49
2
Solved
I am using version 1.1.0-alpha05 of Jetpack Compose and I wanted to know if there is a way to turn off the scrolling effect for LazyColumn like xml (android:overScrollMode="never")?
Gwen asked 6/10, 2021 at 15:5
0
I want to create a little messenger where messages are added from the bottom (new messages are placed at the bottom of the list). To achieve that I set the LazyColumns reversedLayout property to tr...
Quadricycle asked 16/4, 2023 at 18:52
4
I want to have the total scroll position in px in LazyColumn.
The column itself has a ScrollState which has a value (Described in the document as the current scroll position value in pixels), But L...
Traprock asked 12/8, 2022 at 12:6
4
Solved
I use LazyColumn inside BottomSheetDialogFragment, but if to scroll LazyColumn list UP then Bottom Sheet Dialog scrolls instead of LazyColumn list. Seems like BottomSheetDialogFragment intercepts u...
Abide asked 20/1, 2022 at 18:29
1
Solved
I want to put items at bottom of LazyColumn. So what is the best recommended way of doing in LazyColumn. Some content I put in item or itemIndexed which is correctly, but unable to know how to stic...
Katinakatine asked 31/1, 2023 at 14:55
2
Solved
I want a similiar effect to TikToks profile screen.
On top is the ProfilPicture and username, below that is a stickyHeader with a TabRow (Posts, Drafts, Likes, Favorites) and below that is a Horizo...
Shavon asked 14/5, 2022 at 14:2
2
Solved
I have product cell which I want to display on the list, I've used LazyColumn but performance was terrible, I couldn't find why it is so slow. Then I've switched LazyColumn to Column and all of the...
Ashok asked 5/11, 2021 at 16:34
1
Solved
When I modify the properties of the objects in the List, the UI does not update
my code:
@OptIn(ExperimentalFoundationApi::class)
@Composable
fun ContactCard(
) {
var stateList = remember {
m...
Ministration asked 20/11, 2022 at 6:5
2
I have create a simple example with six TextFields inside a LazyColumn, when you click the last TextField, the keyboard hides it, if you hide the keyboard and click again last TextField, works fine...
Odessaodetta asked 23/9, 2021 at 13:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.