Impeccable timing, Philipp! Fits the next part I'm about to start in my project like a glove! You're the best ❤ thank you for bringing us all those terrific updates!
bro i cannot say more about your videos. it help me a lot with my struggle. sure its not help me directly but it help me to give insight of my problem.thanks
Currently, if you try to use the newer material3-adaptive = "1.0.0-beta02" the AnimatePane will crash the app. Looks like beta 2 broke something. If you use material3-adaptive = "1.0.0-beta01" the AnimatePane works as expected. Tested on a Google Pixel Tablet and a Lenovo Tab M9.
nice video, but i cant make it implement share element with this list detail pane scaffold, and if you put AnimatedPane in list pane, when scrolling then go to detail, the scroll will back to top again every time, hopefully google make this fix in next version.
09:10 Be careful, you can not pass any type there. The app will crash on configuration change (orientation, locale, theme, ...) when you pass a complex object. But you can easily handle this by passing your object as a JSON string and parsing it in the detail screen.
@PhilippLackner I had to turn my Gmail inside out to find it. God only knows where it stashed your reply, but, eventually, i found it. It's a good think I asked, because if you hadn't told me you replied, I would've thought there was no more room. Emailed you back. Thanks! ❤️ Damn, this is exciting! 😁
Thank you again for a very useful session. I have tried extending this, but cannot get a ConstraintLayout to work as the detailPane, it does not layout correctly. Any ideas?
I ran into the problem of using different ViewModels for different Panes. It looks like the Detail Pane or Extra Pane class is created immediately when the component is created and navigation does not change the screen state
Good point, yes they don't seem to have separate back stack entries. You could still use two ViewModels for one screen though, but might require some extra care on phones as going back won't clear the ViewModel's state
I'm an flutter app developer i am also learning kotlin. I also want to become a full stack developer, so can you please suggest me what should i learn for backend?? Is it spring boot or nodejs or golang or anything else. I want to learn one demandable backend technology. I would be very happy if you reply.
I tried to copy paste the same exact example and it all it shows is just one pane. Tried in Samsung Fold 6 with the following deps: androidx.compose.material3.adaptive:adaptive:1.0.0-beta04 androidx.compose.material3.adaptive:adaptive-layout:1.0.0-beta04 androidx.compose.material3.adaptive:adaptive-nagivation:1.0.0-beta04