Constraint Layout with Jetpack Compose

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @mehulbisht9708
    @mehulbisht9708 4 ปีที่แล้ว +14

    engagement: On the eve of New Year, Mitch will pin this comment without any reason.

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

      Looks like it worked :D

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

      @@GidzPaul lol it's been 6 months I didn't even remember I did that 🤣

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

    Stack is actually not deprecated but straight on removed. I tried using Compose in one of my current live projects, and out of the sudden Stack just disappeared from sources after me updating the compose lib version. I almost ran out of hair to pull off looking for what happened to stack. then I look in the layout library and see a new component called Box where Stack used to be... but as you saw the guides still refer to it as Stack. That's why I stopped using compose after that.
    But that doesn't mean your video is not ENGAGING!!! quite the contrary actually. and really LIKEable!!! Happy New Year Mitch!!!!!

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

      lol that makes sense because I couldnt find the class definition either. Makes sense because they removed it

  • @pxnx
    @pxnx 4 ปีที่แล้ว +6

    Seemed so complex at first glance, but it's much easier than I thought. Excellent one✨
    A good 2021, Mitch. You've earned it (multiple times) 🚀

  • @Hacker-x
    @Hacker-x 4 ปีที่แล้ว +5

    This time. I am watching this video after dental surgery. Thanks Mitch. Following from Oman 🥵🤒

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

      Got some nice new teeth?

    • @Hacker-x
      @Hacker-x 4 ปีที่แล้ว +1

      @@codingwithmitch Yup, Hollywood smile soon😁

    • @randafahmy9688
      @randafahmy9688 4 ปีที่แล้ว +1

      And I am from Egypt ☺️☺️☺️
      الف سلامه 😊

    • @Hacker-x
      @Hacker-x 4 ปีที่แล้ว

      @@randafahmy9688 الله يسلمك.. عافية.

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

    Happy New Year. Thank You. Hope this new year will be as simple as Columns and Rows and not complicated as ConstraintLayout. Best course on the universe really.

  • @YouGuto
    @YouGuto 4 ปีที่แล้ว +2

    Happy new engagement year!!! Liked from south Brazil

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

    Oh happy eve of New Year, Mitch!
    I don't know if I already pass my xmas till eve New Year in one day

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

    As always, great explanation for complex topics! 👏🏻

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

    Hey Mitch, what an amazing video, could you please make a video about animations using jetpack compose? I believe there is not much resources and examples on it

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

      Yep the next couple videos will be animations

    • @randafahmy9688
      @randafahmy9688 4 ปีที่แล้ว +2

      Yaaaaay can't wait 👏👏👏

  • @mishaeliseev
    @mishaeliseev 4 ปีที่แล้ว

    Happy New Year, Mitch !

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

    5:40 Bro, you are using android studio canary which is not the stable version, so basically we should not be surprised with these type of bugs

  • @rahhi9792
    @rahhi9792 4 ปีที่แล้ว +1

    happy new year 🎆 mitch

  • @shivamsethi3829
    @shivamsethi3829 4 ปีที่แล้ว +2

    As always, great

  • @sourcecode6467
    @sourcecode6467 4 ปีที่แล้ว +1

    Another quality video by the best. This does seem like heavy work compared to building UI with the visual editor/XML, I'm struggling to see the advantages. It maybe a little more efficient, but these gains are probably negligible in the grand scheme of things and wouldn't warrant the additional workload involved. I could of course be completely wrong 🤪

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

      Rows, columns and Box seem to be the way to go for jetpack compose. At least 95% of the time

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

      exactly my thoughts

  • @ChrisAthanas
    @ChrisAthanas 4 ปีที่แล้ว

    Getting sails engaged and pumped for the 100k continent

  • @safwenchaieb2915
    @safwenchaieb2915 4 ปีที่แล้ว

    Thank you mitch , please can you make a video on how to get your first junior android job , I mean the complete guide :)

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

    Bro you are the best

  • @DevTech-du4zy
    @DevTech-du4zy ปีที่แล้ว

    In the new version, I don't see WithConstraints so this worked for me.
    BoxWithConstraints(
    modifier = Modifier.fillMaxSize()
    ) {
    val constraints = if (minWidth < 600.dp) {
    myDecoupledConstraints(0.3f)
    } else {
    myDecoupledConstraints(0.7f)
    }
    ConstraintLayout(modifier = Modifier.fillMaxSize(),
    constraintSet = constraints) {
    CircularProgressIndicator(
    modifier = Modifier.layoutId("progressBar"),
    color = MaterialTheme.colors.primary
    )
    Text(
    text = "Loading...",
    style = TextStyle(
    color = Color.Black,
    fontSize = 15.sp
    ),
    modifier = Modifier.layoutId("text"),
    )
    }
    }

  • @ailacherim
    @ailacherim 4 ปีที่แล้ว

    Happy New Year!!!!

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

    Here is your Engagement Mitch

  • @HelloBayzid
    @HelloBayzid 4 ปีที่แล้ว +1

    Love you sir.

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

    Thank you, Mitch.

  • @11m0
    @11m0 3 ปีที่แล้ว

    very helpful

  • @johnybaby9574
    @johnybaby9574 4 ปีที่แล้ว

    wait why is 600.dp??

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

    thank you very much!

  • @tom-wz5le
    @tom-wz5le 3 ปีที่แล้ว

    Thanks

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

    cool

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

    engagement🧐🧐🧐

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

    EngagementLayout