Constraints and modifier order - MAD Skills

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

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

  • @AndroidDevelopers
    @AndroidDevelopers  Год назад +15

    Catch more videos → goo.gle/layouts-mad

  • @roshanpvarghese4280
    @roshanpvarghese4280 Год назад +8

    Highly condensed video content. Learnt a lot. Thank you!

  •  Год назад +5

    Awesome episode! Very very educational. Thank you!

  • @ramezsnober6425
    @ramezsnober6425 Год назад +2

    Well done video, it helps you to easily understand how modifier works behind the scene

  • @KingFuYouTube
    @KingFuYouTube Год назад +2

    thank you for the guide. Please make more of this.

  • @mgregory22
    @mgregory22 8 месяцев назад

    Extremely good presentation!

  • @Zhuinden
    @Zhuinden 9 месяцев назад

    I like this video because it has nice illustrated visual examples, but everything about it works exactly the opposite compared to what I'd normally expect. Odd. As a lot of people do like this, maybe I'm the one working in reverse.

  • @hj2931
    @hj2931 Год назад +2

    Really useful video, nice job!

    • @AndroidDevelopers
      @AndroidDevelopers  Год назад +1

      We're happy to hear this was helpful for you 🙂
      If you'd like additional information about Compose modifiers, feel free to check out the resource linked below ⬇
      goo.gle/3JlrE82

  • @jeremycharlybryanlamasse
    @jeremycharlybryanlamasse Год назад

    It finally made more sense to me, thanks!!

  • @codeone6423
    @codeone6423 9 месяцев назад

    wow this was amazing

  • @MaxMaung-l9i
    @MaxMaung-l9i Год назад +2

    At 11:28 it's not clear to me why the clip draws itself at the center of the canvas instead of from the top left corner.

  • @YuzW-oz2um
    @YuzW-oz2um Год назад

    So clear!

  • @amirhosseinghafoorian9985
    @amirhosseinghafoorian9985 Год назад +1

    amazing video, thanks a lot

  • @johnhammer8668
    @johnhammer8668 Год назад +1

    How does the root node decide what the height and width constraint should be ?

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

      Was wondering the same thing, but it probably starts with the root node using all available space depending on what type of layout it is (so if compose view is taking up entire viewport, and the first compose node is unbounded, the constraints are probably bound to the size of the screen).

  • @jakubpika
    @jakubpika Год назад

    Hi Jolanda!

  • @Jenis_Sanghani
    @Jenis_Sanghani Год назад

    Thank you please Help me to start with compose.

    • @AndroidDevelopers
      @AndroidDevelopers  Год назад

      We have some great resources to help you get started with Compose. Check out our Introduction to Compose Basics from our MAD Skills series here: goo.gle/418kdaF
      We also have a guide on building your first app with Compose. You can find it here: goo.gle/419n1US

  • @kee1o
    @kee1o Год назад

    There’s Denis Neklyudov in the Image )
    1:00

  • @zaryabK-vi8fh
    @zaryabK-vi8fh Год назад

    question I used border on column like bending the top left and top right edges but the ripple effect or the click effect still took the whole column

    • @hashemmousavi2451
      @hashemmousavi2451 Год назад

      You should wrap it in Surface and use the onClick Lambda.

    • @zaryabK-vi8fh
      @zaryabK-vi8fh Год назад

      @@hashemmousavi2451 border the surface right

    • @hashemmousavi2451
      @hashemmousavi2451 Год назад

      @@zaryabK-vi8fh I think so, I it doesn't work let me know

    • @zaryabK-vi8fh
      @zaryabK-vi8fh Год назад +1

      @@hashemmousavi2451 I did and nothing changed so I just left it there

  • @chicongvu8062
    @chicongvu8062 Год назад +1

    Love it

  • @agungwatanabe318
    @agungwatanabe318 Год назад

    I actually can't believe someone still thinking that modifier order doesn't matters

    • @kamikakushi_
      @kamikakushi_ 10 месяцев назад

      Everyone needs to start somewhere.
      I thought at first, the API looks similar to a builder pattern and so I thought the chain order does not matter.
      That's why when I realize something amiss with the modifier function(s) behaviour, I look up the documentation and they wrote: "The order of modifier functions is significant".

  • @parihar-shashwat
    @parihar-shashwat Год назад +2

    Remember when we used to create all complex ui using just linearLayout and RelativeLayout .

  • @TheMikkelet
    @TheMikkelet Год назад +4

    I thought we were going away from Views because the View class had gotten too bloated, but now it feels like we just have a bloated Modifier class 😅

    • @saidooubella
      @saidooubella Год назад +5

      The `Modifier` is an interface, and every other method you call on it it's just an extension function. Therefore, no the Modifier interface isn't bloated.

    • @TheMikkelet
      @TheMikkelet Год назад

      @@saidooubella Ah that's fair. Wonder why they didnt make the View to work this way

    • @saidooubella
      @saidooubella Год назад +2

      @@TheMikkelet I guess because it was written in Java.

    • @n-o-i-d
      @n-o-i-d Год назад +2

      @@TheMikkelet Probably because in 2007-2008 Android had to be rushed to the market in order to compete with iOS, which looking back, was a smart choice because Android is now still around. Otherwise, Android would be just like Windows Phone, with a pretty strong tech foundation, but DEAD :D

    • @thecsciworker291
      @thecsciworker291 Год назад +2

      @@n-o-i-d Android was around before iOS. iOS was just more popular. Android was conceived in early 2000's and bought by Google in 2005. The only thing that iOS impacted was forcing Android to move from being button based to touch based.