List + Detail Screens Just Got SO MUCH Easier - NavigableListDetailPaneScaffold

Поделиться
HTML-код
  • Опубликовано: 29 май 2024
  • In this video I'll show you how the List + Detail Screens Just Got SO MUCH Easier!
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/drop-table-ment...
    ⭐ Courses with real-life practices
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/premium-courses...
    Get my FREE PDF about 20 things you should never do in Jetpack Compose:
    pl-coding.com/jetpack-compose...
    Regular programming advice on my Instagram page: / _philipplackner_
    Join my Discord server:
    / discord
    Get the source code for this video on GitHub:
    github.com/philipplackner/Lis...
  • НаукаНаука

Комментарии • 53

  • @royerdavid
    @royerdavid 27 дней назад +14

    I tried it and it's indeed very nice. One major problem is it's not multiplatform.

    • @PhilippLackner
      @PhilippLackner  27 дней назад +6

      As most stuff it will probably soon be

  • @mark-147
    @mark-147 26 дней назад +5

    15:45 "It's always a Pane to make this work" Nice one 🤣

  • @ArthurKhazbs
    @ArthurKhazbs 27 дней назад +3

    I'm glad to have something to replace my makeshift three pane layout made of dirt and sticks! Thank you for showing this to us!

  • @annaberkovitch85
    @annaberkovitch85 27 дней назад +2

    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!

  • @chadlung4353
    @chadlung4353 24 дня назад +2

    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.

  • @connectedr
    @connectedr 27 дней назад +2

    just when i needed this, you’re a legend

  • @futsuchinpo9892
    @futsuchinpo9892 27 дней назад +1

    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

  • @nishantaanjaneyjalan8583
    @nishantaanjaneyjalan8583 27 дней назад

    Awesome stuff

  • @mustafaammar551
    @mustafaammar551 23 дня назад

    wow this is so eazy
    thank you

  • @kit0kat980
    @kit0kat980 9 дней назад

    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.

  • @markdelphi8075
    @markdelphi8075 24 дня назад

    great, thnak you! What about chenging text sizes according to the screen size? That's a really required one. Thanks

  • @lucachangretta2025
    @lucachangretta2025 25 дней назад

    Bro you are so underrated

  • @safionweb
    @safionweb 27 дней назад +6

    How do you stay up to date with the new Android APIs etc?
    Is there some sort of newsletter or something that I can subscribe?

    • @PhilippLackner
      @PhilippLackner  27 дней назад +3

      It's a full time job :D
      Reading lots of blogs, docs etc. That's why I condense it into an android news video once a month so you don't need that

    • @YadavDhakal-nv6wu
      @YadavDhakal-nv6wu 26 дней назад

      @@PhilippLackner A news letter would be amazing.

  • @RajAgrawal1
    @RajAgrawal1 27 дней назад +15

    I hope "NavigableListDetailPaneScaffold" is a joke and not a real class name.

    • @PhilippLackner
      @PhilippLackner  27 дней назад +8

      NavigableListDetailPainScaffold

    • @r.ckyslash
      @r.ckyslash 25 дней назад +1

      That's one reason why I prefer View compared to Jetpack Compose

    • @mahmoudrizk15
      @mahmoudrizk15 23 дня назад +3

      Don't Worry it is not a class it is a function 😂😂

  • @YasirAlam02
    @YasirAlam02 27 дней назад

    U r amazing🎉

  • @pereyrarg11
    @pereyrarg11 19 дней назад

    thanks for the video!
    how can I pass more than one param (content) between panes?

  • @michaelmarkley8267
    @michaelmarkley8267 27 дней назад

    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?

  • @frankyjunior6005
    @frankyjunior6005 27 дней назад +1

    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.

  • @chibuezefelixanyanwu300
    @chibuezefelixanyanwu300 16 дней назад

    What Camera do you use Chief.

  • @annaberkovitch85
    @annaberkovitch85 27 дней назад

    Before I forget, speaking of your program, I've applied about.... maybe a week ago? Never heard back from you. Would really love to participate.

    • @PhilippLackner
      @PhilippLackner  27 дней назад

      I've just looked through the applications of the past 2 weeks and there was one Anna who should've gotten an answer 🤔

    • @annaberkovitch85
      @annaberkovitch85 27 дней назад

      @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! 😁

  • @RezaZarchi
    @RezaZarchi 17 дней назад

    can we combine this tool with the regular compose navigation?

  • @irfanov7412
    @irfanov7412 25 дней назад

    hi Philipp i dont see any any libs.version.toml in project? am i using any older version

  • @Settn77
    @Settn77 27 дней назад +3

    hey philipp 👋 can u cover more about HorizontalPager thanks,,,

  • @Abdullateef30
    @Abdullateef30 3 дня назад

    Can we use it with NavHost somehow?

  • @youdube1203
    @youdube1203 27 дней назад

    no imperative navigation yet?

  • @ezioken9148
    @ezioken9148 27 дней назад

    can u make new google auth firebase please

  • @khaqim4148
    @khaqim4148 24 дня назад

    how to combine it with NavHost?

  • @imamulhasanrana4431
    @imamulhasanrana4431 26 дней назад

    Navigation Pain 😔

  • @ngapps
    @ngapps 16 дней назад

    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

    • @PhilippLackner
      @PhilippLackner  16 дней назад +1

      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

    • @ngapps
      @ngapps 16 дней назад

      Yeah, this can be replaced with regular navigation, which is convenient now, but then the meaning of this composable is lost

  • @haissayf
    @haissayf 27 дней назад

    👍👍👍

  • @petibah27
    @petibah27 27 дней назад

    😊

  • @muhammadziyad3648
    @muhammadziyad3648 27 дней назад

    Hey man can you make a video about room database for an ecommerce store with view binding please ??

  • @jackeblan
    @jackeblan 27 дней назад +1

    Problem is you are forced to join two features in one module. I'll stick to adaptive grid.

    • @PhilippLackner
      @PhilippLackner  27 дней назад +1

      Why are you forced to do that? I can't think of a scenario where list + detail screens are part of different features

    • @jackeblan
      @jackeblan 27 дней назад +1

      In my scenario, each list item click navigates to another screen (feature)

    • @PhilippLackner
      @PhilippLackner  27 дней назад +2

      But screen != feature

    • @Beberrre
      @Beberrre 26 дней назад

      Yeah giving a route would have been nice. What about deep links?

    • @Beberrre
      @Beberrre 26 дней назад

      Also not working if orientation is locked to portrait... Will stick with adaptive layout but it's a promising base!

  • @zishanhossain4801
    @zishanhossain4801 26 дней назад

    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.

  • @aryogmr97
    @aryogmr97 27 дней назад

    gg

  • @MrPDTaylor
    @MrPDTaylor 27 дней назад

    Seventh

  • @ASahutheMakeshifter
    @ASahutheMakeshifter 26 дней назад

    ruclips.net/video/Nuwunbl8qV4/видео.html