Lazy grids | Compose Tips

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • Lists are vital to the Android UI - we use columns and rows everywhere in our apps!
    This episode shows how grids can sometimes serve as a better alternative, to make these layouts more dynamic and delightful - especially when supporting different window sizes across devices.
    Learn more → goo.gle/compos...
    Watch more Compose Tips for Delightful UI → goo.gle/Compos...
    Subscribe to Android Developers → goo.gle/Androi...
    #Featured #ComposeTips #JetpackCompose #AndroidDevelopers
    Speaker: Simona Milanovic
    Products Mentioned: Jetpack Compose, Android Dev

КОМЕНТАРІ • 20

  • @JazzyJesterTechPing
    @JazzyJesterTechPing 4 місяці тому +6

    Nice to know about the swipe to dismiss box ! Thanks Simona !

  • @mrstarlord
    @mrstarlord 4 місяці тому +31

    More videos like this

  • @ArthurKhazbs
    @ArthurKhazbs 4 місяці тому +8

    Delightful video on delightful UI. Very nice!

  • @naninano8813
    @naninano8813 4 місяці тому +1

    when i was in grad school in 90s we were told not to use points or pixels anywhere in our adaptive layouts, which in practice essentially meant we would have to use grid coordinates lol. so glad the younger generation is free from that hampering baggage. aint nothing wrong in hardcoding point size here or there. just take care to express to the layout engine which parts re allowed to be adaptable.

  • @Cheyzak
    @Cheyzak 4 місяці тому +1

    Great video! I learned a lot

  • @gowtham4943
    @gowtham4943 4 місяці тому +3

    well detailed video🦾

  • @aabhishek4911
    @aabhishek4911 4 місяці тому +5

    I wish they kept the weight property to have same meaning across old view and compose

  • @loklok2003
    @loklok2003 4 місяці тому +3

    Is there a way to ensure that each grid item has the same height within the same row without setting a fixed height manually?

    • @ViktorYakunin
      @ViktorYakunin 4 місяці тому +1

      yes, it's doable, but I would really prefer Google adding this functionality to the *Grid component

  • @Latsson2
    @Latsson2 3 місяці тому

    Great video for happy cases. But, please now add a horizontal carousel that should go full width, without getting cropped when using contentPadding in the LazyVerticalGrid. Such a important feature is missing :(

  • @kyky779
    @kyky779 4 місяці тому +1

    How can we support dimensions for different screen size

  • @ngenge_senior
    @ngenge_senior 4 місяці тому

    I would have thought that setting the weight modifier as shown in the video would instead prioritize the PublishDate Text composable.

  • @johnnykeener3727
    @johnnykeener3727 4 місяці тому

    1st and Android!

  • @Mdre-y7c
    @Mdre-y7c 4 місяці тому

    Can you Make Animate as state in Jetpack compose support Animations Tools In Android Studio

  • @Latsson2
    @Latsson2 4 місяці тому

    Sadly, we can't hide part of a text due to accessibility :(

  • @k.chaiwatkongkong135
    @k.chaiwatkongkong135 4 місяці тому +1

    😀

  • @soesoesoesoe-u7s
    @soesoesoesoe-u7s 4 місяці тому

    Hi

  • @MDAlamgirMiah-qi5ws
    @MDAlamgirMiah-qi5ws 4 місяці тому

    Android beta pro