From data to UI: Compose phases - MAD Skills

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 35

  • @anaslolozi4187
    @anaslolozi4187 2 роки тому +32

    That's why .. I love working on Android projects because when I don't understand something I'm sure I'll find a wonderful video like this that explain what I want .. thanks a lot

    • @AndroidDevelopers
      @AndroidDevelopers  2 роки тому +1

      Thank you so much for the kind words, Anas! Don't forget to check out the video description for more great resources like this one 🙂

  • @SiamakAshrafi
    @SiamakAshrafi Рік тому +7

    Graphics make it very easy to follow the concepts ... very well done!

  • @technophile_
    @technophile_ 2 роки тому +14

    Really useful video ❤️! Especially the visualization of how the tree is recursively traversed! Keep ‘em coming!

    • @AndroidDevelopers
      @AndroidDevelopers  2 роки тому +3

      Thanks! Your comment just made our day 😎
      We're glad that this was so helpful for you!

  • @amirhosseinghafoorian9985
    @amirhosseinghafoorian9985 2 роки тому +2

    Amazing video, I love to know how compose works deep down. Thanks a lot

    • @AndroidDevelopers
      @AndroidDevelopers  2 роки тому +1

      For a more hands-on approach to learning Compose, you can give Codelabs-like the one below-a try! We hope this helps 😄
      Jetpack Compose Basics (Codelab) → goo.gle/3I38XDZ

  • @nicolasmarin6077
    @nicolasmarin6077 Рік тому +1

    Such a great explanation and interesting topic! Great video!!

  • @robertgasparyan5315
    @robertgasparyan5315 10 місяців тому

    Thanks for the nice explanation!
    P.S. I am currently passing through the Jetpack Compose Course on the Android Developers website and I think that this particular video should be moved/added to 2nd path because there are steps that directly follow this video and also questions in the Quiz section so I will suggest at least add this one there too)

  • @ghZTrikz
    @ghZTrikz 2 роки тому +1

    Thanks! Waiting for the next of these series! To the end of game;)

  • @warm-sweater-123
    @warm-sweater-123 6 місяців тому

    These videos are great!
    I'm curious about something you mentioned while describing the layout phase:
    "With a single pass through the UI tree, we were able to measure and place all the nodes. This is great for performance. When the number of nodes in the tree increases, the time spent traversing it increases in a linear fashion. In contrast, if we were to visit each node multiple times, the traversal time would increase exponentially."
    By "exponentially", did you literally mean an exponential time complexity (I assume it actually couldn't have been more than quadratic), or did you just mean "a large amount more than 1 pass" (but actually a multiple of n, still linear)? I assumed the latter, but the gesture you did with your hands represented a quadratic or exponential graph, so I just wanted to make sure (for the sake of my own sanity 😅).
    Thanks

    • @warm-sweater-123
      @warm-sweater-123 6 місяців тому

      Ok, I just learned about subcompose, and now am more open to the idea that it could be exponential time complexity if multiple measures were allowed.

  • @mathijsbernson
    @mathijsbernson Рік тому

    Very informative video! The layout algorithm of Compose seems to be quite similar to that of SwiftUI.
    It works as follows:
    1. A parent view proposes a size for its child.
    2. Based on that information, the child then chooses its own size and the parent must respect that choice.
    3. The parent then positions the child in its 2D coordinate space.
    Which begs the following question for me:
    When a composable measures its children in step 1, does the parent composable communicate a maximum size to the children? This information would be needed for example for a Text composable with multiple lines to know how tall it will be when its lines wrap at the maximum width of its parent.

    • @lukaszkalnik5084
      @lukaszkalnik5084 10 місяців тому +1

      Yes, the parent composable communicates the maximum children size through constraints.

  • @victoralmeida1583
    @victoralmeida1583 Рік тому

    Awesome content!

  • @BCS_AAMIRASHRAF
    @BCS_AAMIRASHRAF 7 місяців тому

    Amazing tutorial
    Thanks

  • @ashishproc9636
    @ashishproc9636 2 роки тому +1

    Awesome content 👏 😍

  • @الجنابيابنعكاب-ت2ك
    @الجنابيابنعكاب-ت2ك 10 місяців тому +1

    Very useful video
    Thinks you

  • @VirgilioSolano
    @VirgilioSolano 2 роки тому +1

    Nice explanation, thks :)

  • @myxzlabs5635
    @myxzlabs5635 Рік тому

    Given your explanation is it possible to visit each node in paralel?

  • @jam4l
    @jam4l 2 роки тому

    Well explained, Thanks Jolanda.

  • @mohamedhasan318
    @mohamedhasan318 2 роки тому

    I need full course with the whole last updates, where to find the latest courses

  • @albab790
    @albab790 2 роки тому +1

    Thanks

  • @MrAndrewtux
    @MrAndrewtux 2 роки тому +2

    It sounds a lot like @flutter work. So why reinvent the wheel and not bring flutter into. As a 1st class tool

    • @farazahmed7
      @farazahmed7 Рік тому

      Because flutter sux and is slow as hell

  • @silver10188
    @silver10188 Рік тому +1

    this is like third video where I've been shown hierarchies and trees, I mean it's cool but I'm not gonna write that in an app, just do real world apps, it's much more clear

  • @pvarela
    @pvarela 2 роки тому +2

    And this is why we are asked about trees in coding interviews.

  • @WayfaringTenno
    @WayfaringTenno 2 роки тому +1

    Thank youuu

  • @mondoshigua
    @mondoshigua 2 роки тому

    👋🏼🇨🇴🧔🏻👍🏼🤝🏻 Saludos desde Colombia.

  • @BurgerParty
    @BurgerParty 2 роки тому

    Improve update support by separating the oem layer like miui one ui vivo from the system oartition and making system partition the aosp base for easy and make google to update the system partition easily like wut you did on dsu gsi and oem partition for oem to easily update while the product partition for gapps partition and vendor for device layer . Maybe retiring the dsu gsi test on developer option and actually allowing the google server to update the system.img the aosp base and the oem partition easily via settings like wut you did on dsu gsi via developers option might help everyone to experience latest os and as well as security

  • @mohamedhasan318
    @mohamedhasan318 2 роки тому

    How to find new updates and depricated codes in kotlin

    • @AndroidDevelopers
      @AndroidDevelopers  2 роки тому +1

      Hello Mohamed! You can stay up to date on new Jetpack Compose functionality and deprecations via the following link ➡️ : goo.gle/3IbJ59W

  • @TheMikkelet
    @TheMikkelet 2 роки тому

    Please improve viewmodels. Give us the ability to preview composables that uses the viewModel lifecycle method

  • @IvanVasheka
    @IvanVasheka Рік тому

    Say that you’re German without saying that you’re German ;)

    • @farazahmed7
      @farazahmed7 Рік тому

      🙋‍♂🙋‍♂🙋‍♂🙋‍♂