Compose Navigation Animations (NEW)

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2024
  • The BEST android courses in the world: codingwithmitc...
    In this video I show you how to add animations to your jetpack compose navigation system.
    Accompanist Animations:
    github.com/goo...
    Article by Ian Lake:
    / animations-in-navigati...
    Samples:
    github.com/mit...
    github.com/230...
    Follow me:
    Instagram: / codingwithmitch
    Twitter: / mitch_tabian
    .
    .

ความคิดเห็น • 69

  • @LucasLima-yu8mb
    @LucasLima-yu8mb 3 ปีที่แล้ว +3

    Im leaving another comment here because I'm starting a side project in compose and your video is helping a lot.
    Just like this animated navigation. I saw it this morning and tried it out this afternoon, really useful content for the android community.
    Thanks for your effort in studying, understanding and making it available for us.

  • @viveksingh9223
    @viveksingh9223 3 ปีที่แล้ว +2

    Really love your videos. And thanks for the shoutout for my Adopty sample app. 😀😀😄😄

  • @taslimfi
    @taslimfi 3 ปีที่แล้ว +2

    Hi Mitch, you light my days!

  • @ivanbartolelli
    @ivanbartolelli 3 ปีที่แล้ว +1

    Thanks Mitch! It's really easy now to manage animations between screen transitions now

  • @Mrdresden
    @Mrdresden 2 ปีที่แล้ว +1

    I'd recommend moving away from hosting the dependency definitions in your buildSrc as modifying them breaks incremental compilation. I'd recommend Gradle's incubating dependency management instead. Much easier to share dependencies between modules without causing build bottlenecks

  • @venkatesh4307
    @venkatesh4307 3 ปีที่แล้ว +1

    Glad to see you again

  • @AliMohammad-tl7sq
    @AliMohammad-tl7sq 3 ปีที่แล้ว +1

    Notification Squad!
    Super awesome :D

  • @crayolaksh
    @crayolaksh 3 ปีที่แล้ว +3

    was literally looking for how to add navigation animation.. the original dependency always uses crossfade now :( Thanks Mitch!

  • @oguzhanaslan494
    @oguzhanaslan494 ปีที่แล้ว

    This guy is a living legend !

  • @spquest2386
    @spquest2386 3 ปีที่แล้ว

    This is exactly what I was looking for.
    I had done crazy thing to make animation work.
    I created another compose activity
    and placed my second composable there.
    So, when I had to navigate I would launch that second activity.🤣

  • @iamkrishn
    @iamkrishn 3 ปีที่แล้ว +2

    Compose all the way!

  • @khronosium8480
    @khronosium8480 3 ปีที่แล้ว +1

    Thanks a lot Mitch! Engagement!

  • @a2ke5e1
    @a2ke5e1 3 ปีที่แล้ว +3

    Can you please make tutorial for compose with Firestore database

  • @yonessaadati7005
    @yonessaadati7005 3 ปีที่แล้ว +1

    Mitch u r my legend

  • @HungVu-dm6xc
    @HungVu-dm6xc 3 ปีที่แล้ว +1

    Thanks Mitch

  • @vedx
    @vedx 3 ปีที่แล้ว +2

    Engagement 👍🏻

  • @aiyuayaan
    @aiyuayaan 8 หลายเดือนก่อน +1

    Great video! 👏 However, could you please mention that the new Jetpack Compose comes with these built-in features? 🚀 Alternatively, consider pinning my comment for visibility. Thank you! 😊

  • @hosseinbadrnezhad2019
    @hosseinbadrnezhad2019 2 ปีที่แล้ว

    Thanks dear Mitch. ❤️

  • @hilaltube4693
    @hilaltube4693 3 ปีที่แล้ว +1

    Your stud from Ethiopia thanks

  • @joywanjiku2317
    @joywanjiku2317 ปีที่แล้ว

    Great explanation, I have a question; from your implementation does it mean one can use popExit and popEnter without explicitly removing the destination from the stack (using popUpTo()) ?

  • @mesutdemirci7933
    @mesutdemirci7933 3 ปีที่แล้ว +1

    Awesome

  • @LucasLima-yu8mb
    @LucasLima-yu8mb 3 ปีที่แล้ว +1

    thanks man

  • @kasemsm8092
    @kasemsm8092 3 ปีที่แล้ว +1

    ✨ Nice

  • @user-gp9ez8yo7r
    @user-gp9ez8yo7r 2 ปีที่แล้ว

    best information

  • @youprimeprime3046
    @youprimeprime3046 2 ปีที่แล้ว

    Hola Mitch, thats awesome

  • @oscarperry641
    @oscarperry641 3 ปีที่แล้ว

    YES

  • @maxut2162
    @maxut2162 3 ปีที่แล้ว

    Awesome 😎 Do you have any videos explaining how to use multiple stack with NavHost ?

  • @sebastianseno9285
    @sebastianseno9285 ปีที่แล้ว

    after 1 year this library still experimental, not gonna use this library for large project

    • @meidy3795
      @meidy3795 ปีที่แล้ว

      Now it is included in Compose Navigation 2.7.0-beta01+. No Accompanist library needed. Because accompanist are meant to be experimental before they are migrated to compose

  • @aleksamatic9558
    @aleksamatic9558 2 ปีที่แล้ว

    dota

  • @rajneeshkv
    @rajneeshkv 2 ปีที่แล้ว

    Not working with Jetpack compose version 1.1.1
    can you check and update ?

    • @codingjack
      @codingjack 2 ปีที่แล้ว

      There are multiple versions of Accompanist for the different versions of Compose:
      You should use v0.23.1 for Jetpack Compose 1.1.1

  • @vishalbhanderi1732
    @vishalbhanderi1732 3 ปีที่แล้ว

    The font is looking weird

  • @brawlstar3731
    @brawlstar3731 3 ปีที่แล้ว

    Make an video of navigation in compose+viewmodel argument from prev. screen without using fragments
    Using pure compose navigation
    Like navigating from
    Home to Chat with passing Friend id from home to chat And chat viewmodel get the id in constructor And load chats of friend by there Id
    One more thing if I adding TextField compose at the bottom of screen and run the app when I tap to TextField the system keyboard covered the text field please check
    Please provide solution for this problems
    you are great 😎

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว

      I do that lots in my compose courses go watch

  • @yannick4252
    @yannick4252 3 ปีที่แล้ว

    Great video. But the loud background music is quite annoying :(

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว +1

      Shouldn't be that loud. I can turn down for the next one

  • @aliassalem1524
    @aliassalem1524 3 ปีที่แล้ว

    hi mitch , good job
    i am still coding with java since three years،
    Do I have to move to Kotlin ؟؟
    Please I am waiting for your answer

    • @GakisStylianos
      @GakisStylianos 3 ปีที่แล้ว

      Yes, it'd be a good idea

    • @GakisStylianos
      @GakisStylianos 3 ปีที่แล้ว

      @Aayush Rana but it's not available on Android. Also Kotlin evolves too, it's not gonna stay static and let Java catch up.

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว

      I would go to Kotlin

  • @alexmercerind
    @alexmercerind 8 หลายเดือนก่อน

    these should be built in

  • @raghavendpai
    @raghavendpai 3 ปีที่แล้ว +1

    Engagement

  • @justinyue6486
    @justinyue6486 3 ปีที่แล้ว

    I've got to ask, what font are you using?

  • @JimPekarek
    @JimPekarek 3 ปีที่แล้ว

    Is there a way to do shared element transitions in Compose?

  • @vikashparajuli
    @vikashparajuli 3 ปีที่แล้ว

    Is there any benefits of putting library dependency in .kt file?

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว

      Organization

    • @vikashparajuli
      @vikashparajuli 3 ปีที่แล้ว

      @@codingwithmitch thanks for your reply. If there are lots of library being used do you personally feel it's good to make lots of kotlin file? I don't feel making and using lot's of class or files makes organised code. Just a personal thoughts.

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว

      @@vikashparajuli yes I like the buildSrc method

  • @Joe-yu9wc
    @Joe-yu9wc 3 ปีที่แล้ว

    Any discount now?

  • @mehulbisht9708
    @mehulbisht9708 3 ปีที่แล้ว

    Does accompanist mean that the library is third party and not from Google? 🤔

  • @MrSaurabhnanda
    @MrSaurabhnanda 3 ปีที่แล้ว +2

    First like

    • @MrSaurabhnanda
      @MrSaurabhnanda 3 ปีที่แล้ว +1

      I watch your videos everytime. keep it bro

    • @codingwithmitch
      @codingwithmitch  3 ปีที่แล้ว

      @@MrSaurabhnanda cute baby pic

    • @MrSaurabhnanda
      @MrSaurabhnanda 3 ปีที่แล้ว

      @@codingwithmitch He's my baby boy.

  • @mrt7366
    @mrt7366 3 ปีที่แล้ว

    Nice video. Not so much the background music. Super annoying while trying to watch at 1.5x speed.

  • @sushant5800
    @sushant5800 3 ปีที่แล้ว

    hey lets play dota together.. :D

  • @animeslayer4166
    @animeslayer4166 3 ปีที่แล้ว +1

    So you are playing DOTA then xDD

  • @shibabasensei6219
    @shibabasensei6219 3 ปีที่แล้ว

    good but a lot of water

  • @Firespirit233
    @Firespirit233 3 ปีที่แล้ว

    No pudge (

  • @thearpansircar
    @thearpansircar 3 ปีที่แล้ว

    Yo Mitch, I heard that Florian refused to acknowledge you. When's the disstrack coming?
    (Reddit post for context: www.reddit.com/r/mAndroidDev/comments/oy24rg/bruh/?context=3)

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 3 ปีที่แล้ว +1

    Yo Mitch , your wife does not like you getting engaged to so many people