The FULL Nested Scrolling Guide for Jetpack Compose 😱 - Android Studio Tutorial

preview_player
Показать описание
In this video I'll show you the common mistakes people do when implementing nested scrolling in Jetpack Compose with LazyColumns.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!

Join this channel to get access to perks:

Join my Discord server:

You like my free content? Here you can buy me a coffee:
Рекомендации по теме
Комментарии
Автор

Thanks Philipp !. I ran into this problem couple of months back. So, what I did was, just use items block to implement the nested LazyColumn. I was unaware of the fact that I could have just used LazyListScope.

saketanand
Автор

YOU LITERALLY SAVED MY PROJECT ! THANK YOU X !!!

hoplite_softworks
Автор

If I look left see Philipp new video than look right same than look around Philipp still there with this compose. This Youtube/Google algorithim works very well. Keep it up man.

pitorszpitor
Автор

Brother I was having this issue at my job. Thanks for you videos they are ver helpful

cesarlabastida
Автор

Hi Phil, this one is not related to this video but really wanted to know your view about Robolectric testing? Using Espresso in robolectric testing? How should both be integrated? What is proper way to use robolectric? So many questions I have can't get a proper video anywhere. Can you please make one .. your videos are easier to understand..
Also thank you for all the knowledge you keep giving us❤️

mrunalpatil
Автор

Thanks, Philipp I was wondering how could I make this work.
Btw, your videos have been helping me a lot increase my skill in Compose.

filipebittencourt_
Автор

thanks
I like Philipp's teaching skill.

goooozy
Автор

I remember having a project with compose 1.0 where we had the main composable a lazy column and the inner columns normal columns. The instrumented tests showed that the nodes of the inside column that were not in the screen didn't actually existed yet, so we concluded that the lazy part of the main column would render all the content lazy loaded (at least from the rendering side). The objects supporting the columns's data will exist in the viewmodel anyway so we stopped trying to optimize that any further. I would like you to try this again in the latest versions of compose, maybe the behavior didn't change and we are worrying about nothing .

ruavaen
Автор

Flutter has really amazing support for scrolling components. It's dead easy to implement grids, lists in single scrollable parent. It would be great if compose could improve these basic issues in upcoming releases.

dreamerslab
Автор

It was quite interesting and informative.

PrashantSingh-d
Автор

Hi. Thank you. This video really helped and confused me at the same time. So, what if I have LazyColumn inside a Column because this trick won't work if we have a column instead of a lazyColumn.

JahangirJadi
Автор

😱 That easy!!! Thnks. May Allah guide you..

shahriarzaman
Автор

With the nested RecyclerView, there is actually a problem. It does not recycle items as RecyclerView is given infinite height so RecyclerView thinks your screen is also infinitely high, thus renders all the child. Very dangerous for paging as it loads all the data till the end.

OliverRhyme
Автор

For now if we use java xml component with nested recycler view inside compose, will that work?

mridulbarman
Автор

We had the excel sheet type report screen where we wanted the first value of the row and the header to be floating, had to give specific height depending on the number of

eganathan.r
Автор

Whats happens if I have a TabRow, with Horizontal pager and the LazyColumn lives inside the pager and I want to make all the view scrollable. So the Tabs has to scroll too. Any idea how to solve this?

agustinsivoplas
Автор

What theme are you using for in these videos in AS?

Deathfang
Автор

can you please give me this answer :: into SubList2 i am using use LazyVerticalGrid, not LazyColumn or Column, then app is crashing, is there any possible solution for this?

anirbanroy
Автор

Hi @Philipp
I have Lazy Column Inside HorizontalPager and insider this I have LazyColumsn how we can achieve this

dolakrishnanseshachalam
Автор

This is helpful, but it could get more complicated if you want to implement gridItems with nested scrolling.
i think the Android team should do something about this in the upcoming versions of compose.

Landofcoding