Fragments in Compose

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

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

  • @AndroidDevelopers
    @AndroidDevelopers  3 месяца назад +7

    Subscribe for the latest updates → goo.gle/AndroidDevs

  • @alco8864
    @alco8864 3 месяца назад +47

    I hope Compose can also have a navigation graph preview

  • @permik
    @permik 3 месяца назад +25

    Can we have more of Jeremy in future videos?
    They're so natural in front of the camera, have top tier rizz, and speak very clearly by having an excellent cadence and rhythm.
    Also, it's so refreshing to see speaker diversity in the tech space!

  • @AlejandraStamato
    @AlejandraStamato 3 месяца назад +3

    Brilliant stuff, thanks for the video. Working with Fragments can be such a pain and this made them seem friendlier honestly

  • @bbeniful
    @bbeniful 3 месяца назад +4

    Jeremy Woods you are the best, the style and the clarity , love that

  • @Reza1984_
    @Reza1984_ 3 месяца назад +2

    We can finally get rid of Fragments, nice presentation Jeremy

  • @Devenias
    @Devenias 3 месяца назад +2

    The app I'm working on still uses Activities for each screen.
    I'm currently rewriting view by view in Compose to get it up to date and enabling main-detail screens and tablet layout on the way.
    Compose is awesome

  • @Another0neTime
    @Another0neTime 3 месяца назад +12

    This guy is awesome. So clear and concise!

  • @ngomdecadetkamdaou3464
    @ngomdecadetkamdaou3464 3 месяца назад +1

    These new APIs are great. Kudos

  • @cesarlabastida1392
    @cesarlabastida1392 3 месяца назад

    I am currently migrating my companys app from old fragments and xml to compose. Thank you for the tips

  • @Slai47
    @Slai47 3 месяца назад

    that content {} is nice. Basically already built it out in an extension in our code base but nice. I feel fragments in a compose world are basically not needed but turning transition periods like right now for many, these help.

  • @aungkhanthtoo7678
    @aungkhanthtoo7678 3 месяца назад

    Waiting for Fragments in Navigation Compose! Currently using own custom implementation for old fragments with Compose navigation.

  • @chandra_83
    @chandra_83 2 месяца назад +1

    Clearly explained.

  • @嘿嘿嘿-z1v
    @嘿嘿嘿-z1v 2 месяца назад

    Thanks for sharing this article. Very useful :)

  • @marcelreiter181
    @marcelreiter181 3 месяца назад

    Android Honeycomb: here are fragments ❤
    Every future Android version: here are fragments, which don't s*ck as much 😂
    Keep up the good work, compose is awesome 😊

  • @plissk3n-fs9to
    @plissk3n-fs9to 2 месяца назад +2

    I tried the navigation-fragment-compose component without success. Since I am using the safeArgs plugin in my app, I am getting an error as soon as I add the Composable to my NavGraph, the plugin does not like the slash and the gradle task failes. Even though my Composable does not use any arguments.

  • @AlexGnok
    @AlexGnok 3 месяца назад +2

    When the official documentation on this will be released please?
    Composables in fragment navigation graphs don't work - specifically this
    "android:name="com.example.HomeScreenKt\$HomeScreen"
    I guess there must be a mistake somewhere in this guidance, it doesn't even compile

  • @haldir4588
    @haldir4588 3 месяца назад +2

    @AndroidDevelopers any article about Composables in Navigation with fragments?? Also can you pass arguments to a composable destination??

  • @GhalibNugroho
    @GhalibNugroho 3 месяца назад

    Best Fragment API for composee

  • @devopsthinh
    @devopsthinh 3 месяца назад

    Thanks, from Vietnam😘

  • @juacosoft
    @juacosoft 2 месяца назад +1

    hi,In navigation to my composable. How do I pass arguments in the fragment -> Composable navigation?
    best regar

  • @StraplessReligion
    @StraplessReligion 3 месяца назад +1

    let me sink that in, looks like the right approach to me. i was aware of the newer fragment APIs but not found much info so far.

  • @omyadav1866
    @omyadav1866 3 месяца назад

    Great success compost

  • @omyadav1866
    @omyadav1866 3 месяца назад

    Saved compose

  • @ivevasiljevic2647
    @ivevasiljevic2647 Месяц назад

    What about the Bottom sheet screens, support for dialogs not just screens?

  • @marlonlom
    @marlonlom 3 месяца назад

    So, with fragments in compose, finally we can use dynamic feature modules using jetpackk compose?

  • @SpaceGuideHub
    @SpaceGuideHub 2 месяца назад

    I think this fragment is redundand in Jetpack Compose we just can create separate components for every goal, we have Navigation Components, we can create on activity and app.kt and it's enough...

  • @pablovaldes6022
    @pablovaldes6022 3 месяца назад

    Is it possible to add an annotation for NagGraphBuilder that automatically adds the graph the the NavHost Composable. To remove the bolierplate of having to add all graph manually

  • @riyupapa39
    @riyupapa39 3 месяца назад

    Does it really useful?
    Don’t use flagment and single activity made me very happy

  • @heshansandeepa9471
    @heshansandeepa9471 3 месяца назад

    Nice

  • @jopadjr
    @jopadjr 3 месяца назад +1

    483rd...Thanks Jeremy

  • @hdroidstudio8382
    @hdroidstudio8382 2 месяца назад

    Seems he explain everything excepted telling that we should add dependency: androidx.fragment:fragment-compose:1.8.3 else there is no way to find the content {} method :V

  • @rabindramohanta7238
    @rabindramohanta7238 2 месяца назад

    good

  • @mudPuddlePanda
    @mudPuddlePanda 3 месяца назад

    does fragment transactions behave same in Compose

  • @HernandoJaramillomoreno
    @HernandoJaramillomoreno 3 месяца назад

    1:05

  • @zunaidsultan3376
    @zunaidsultan3376 3 месяца назад +2

    Android development is good but publishing app on playstore is very bad experience due to difficult or unexpected account issues.

  • @chrislagos44
    @chrislagos44 3 месяца назад

    Android development...ahh always complicating stuff. Ok quick how to turn my old android fragment based on views to a compose fragment.

  • @ManishKumar-p8z7o
    @ManishKumar-p8z7o 3 месяца назад

    Hello sir Good morning I'm from India
    I want a full course app developer 😊

  • @silver10188
    @silver10188 3 месяца назад

    I hope you know that my fragments work perfect there is no need to redo them in Compose. Not a good investment of time. For new stuff yea Compose.

  • @borislavvelchev7275
    @borislavvelchev7275 3 месяца назад

    Bro I have a rap career too but somehow the bills have to be paid so I became a software developer as well

  • @omyadav1866
    @omyadav1866 3 месяца назад

    Android phone Android phone compose a

  • @Ast991
    @Ast991 3 месяца назад +4

    Android developers can't use simple development like in ios. Google as usual make a problem with backward compability. Complication ob the layer It's a main problem of android sdk

    • @Devenias
      @Devenias 3 месяца назад +5

      The backwards compatibility is a great tradeoff for complexity. On iOS you have a different problem when you use SwiftUI and want to support iOS15. Many features are only available in newer versions and you are constantly hacking and rebuilding existing stuff of newer iOS versions.

    • @therebeliant3969
      @therebeliant3969 2 месяца назад

      It's not as sweet as you think on iOS. Their way to navigate over the screens is sick! ;P

    • @Ast991
      @Ast991 2 месяца назад

      @@therebeliant3969 the way of navigate with compose much better? 😂

    • @therebeliant3969
      @therebeliant3969 2 месяца назад

      @@Ast991 Haven't said that! ;P