Intuitive: Thinking in Compose - MAD Skills

Поділитися
Вставка
  • Опубліковано 12 вер 2022
  • In this episode of MAD skills on Compose basics, we will cover how to think in Compose. Building with Compose lets you focus on ‘what’, and not ‘how’, unlike the View system.
    Compose for Android Developers Course → goo.gle/compose-course
    Compose Samples → goo.gle/compose-samples
    Compose Camp → goo.gle/compose-camp
    Watch more MAD Skills episodes → goo.gle/madskills
    Catch more videos on Compose → goo.gle/compose-mad
    Subscribe to Android Developers → goo.gle/AndroidDevs
    #Featured #Compose #MADSkills
  • Наука та технологія

КОМЕНТАРІ • 39

  • @Sherimankind
    @Sherimankind Рік тому +22

    Thanks to Google devs team 😘 for making Android development easier.

    • @AndroidDevelopers
      @AndroidDevelopers  Рік тому +4

      Thank you for the kind feedback, Mikhail! If you're interested in learning more, check out the Compose Learning Pathways here: goo.gle/compose-pathway

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

      @@AndroidDevelopers 你是哪个现实来的官方🤔

  • @SoulReaperDan1
    @SoulReaperDan1 Рік тому +31

    This is a very well written episode, like there's a lot of quite complicated terminology here esp. for noobs but you have made it very easy to understand, so thanks!

    • @AndroidDevelopers
      @AndroidDevelopers  Рік тому +3

      One of our goals with these videos is to make it easy for everyone to understand, so this is awesome feedback to get! Everyone has to start somewhere, and we are here to help with the journey 🙌🏼
      You can check out all our other MAD Skills episodes here: goo.gle/madskills

    • @AkimboFennec
      @AkimboFennec 11 місяців тому +1

      @@AndroidDevelopersI got to say, i tried reading UIKIT documentation, and it was complicated. Android team, on the other hand gives examples, so that we can better understand what is going on. For example, when you explained what a Scheduler for background task is, such as invoking email screen inside another app, you gave an example, and not just a technical text. For that alone, I switched to developing for Android. THank you Android team. Continue explaining stuff like this, and never assume that your readers are familiars with concepts. Always give examples, this makes it for us, developers much easier to understand how to do certain things

    • @LabGecko
      @LabGecko 9 місяців тому

      Seconding @SoulRepaerDan1 here. I've fallen into a black hole of views bugs. I wish Android Studio interface presented descriptions and explanation this clearly.

  • @kahanbhalani3607
    @kahanbhalani3607 Рік тому +4

    Can't wait for the next video. 😁

  • @randy4ii411
    @randy4ii411 Рік тому +10

    You need to create a room code lab in compose, that would help a huge lot. For the nubes like myself.

  • @luisdavidorellana
    @luisdavidorellana Рік тому +4

    Compose es maravilloso!

  • @albab790
    @albab790 Рік тому +2

    Tankyou so much

  • @whatahellMW2
    @whatahellMW2 Рік тому +2

    Why are composable functions not in lowerCamelCase? Should i use this pattern on my own composable functions?

  • @jatinsingalEARCS
    @jatinsingalEARCS Рік тому +2

    Please make video on dagger hilt library

  • @88paramvirsingh
    @88paramvirsingh Місяць тому +1

    Summary:
    Emphasise on 'what' rather 'how'.
    Declarative way of building the UI.
    The UI element state is defined by the argument we pass them.
    We can create UI entirely in Kotlin.
    Avoids errors that were coming in xml Ui due to conflicting view updates.
    In compose, the creation of UI happens in same fashion as in xml.
    UI elements are functions and not objects.
    Recomposition - the process of regenerating the UI when state changes.

  • @darienalvarez6550
    @darienalvarez6550 Рік тому +2

    I would like to know when you guys plan to support better:
    - Webviews.
    - Fingerprint.
    - Permissions.
    Web views with accompanist is incomplete and full of issues

  • @irsathkareem7513
    @irsathkareem7513 Рік тому +2

    How to write custom controls UI in jetpack compose in exoplayer.??? Reply please

  • @ellasaro
    @ellasaro Рік тому +4

    No xml, great. No internal state to worry about, great. Some things that sound a little off though: stating that there is no need for findViewById seems a little weird. No one uses that anymore. Also, with the Views framework, when a radio button is selected, you would notify the ViewModel about a new selected choice, who would then emit an observable value indicating that the Next button should be enabled. Presenting that scenario as problematic sounds like those fake ads where people are trying to open a milk carton and they suddenly rip it in half cause they don't have the right tool. For the most part, Compose looks good so far.

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

      😮 😢 BB 😮b😮 k😢😢57😢m c c torxdd😢😢😢😢😅😅😅😅😅😅😅

  • @manshalkhatri9289
    @manshalkhatri9289 Рік тому +2

    Helpful

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

      Delighted to hear this tutorial was helpful, Manshal. To get started with Jetpack Compose, check out the Compose Learning Pathways here: goo.gle/compose-pathway or the Jetpack Compose tutorial: goo.gle/3S2IUzT 👍

  • @jg-jsbg4725
    @jg-jsbg4725 Рік тому +2

    INTUITIVE : THINKING IN COMPOSE - MAD SKILLS

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

    🎉 ok thanks

  • @llothar68
    @llothar68 Рік тому +2

    Declarative GUI only work for simple ui

    • @kishanbsh
      @kishanbsh Рік тому +3

      React has been doing declarative UI for ages and it definitely scales

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

    Who decided that white text on a light blue background was a good idea?

  • @user-dz3hu8dj1t
    @user-dz3hu8dj1t Місяць тому

    😎😎😎

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

    492nd...Thanks Chris

  • @qinbiaojiang9473
    @qinbiaojiang9473 2 місяці тому

    感谢(🙏ˊᗜˋ*)

  • @arthurmsiska3800
    @arthurmsiska3800 Рік тому +2

    Compose gives me headaches😩

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

    ترجم عربي كي نفهم

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

    was monetized, so that company could aim for Nice tutorials channel to make money

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

      but google owns yt. why would they monetise it to get money...

  • @TheMikkelet
    @TheMikkelet Рік тому +2

    You're purposely misrepresenting *your own* standard practices. No one uses find view by id. Viewbinding or data binding what does all what compose do but with way better preview options. Compose is actively encouraging high coupling of UI and business logic. Not a good option 👎

  • @vkrsoft
    @vkrsoft 9 місяців тому +2

    Why Android sucks? Because they first invented XML UI to separate UI from coding. And now they are putting UI into code? Why they often change the way of coding. Tomorrow they will again say, no no the XML UI way is good. And there will be no end.
    Well, as I understood by stepping into Android Developoment, I find basically the whole Android Development system is a mess.
    Problem is in Android the Learning Curve is not fixed. Today you devote your time of learning some tool or way of coding and tomorrow you come to know that the stuff you were learning is now obsolete or deprecated. There is no fixed way. Again learn new way. And again after some time the current new way will become obsolete or deprecated. And so Android sucks.
    Simply put, there is no fixed way to learn. For example, can you simply tell me if MVVM architecture is good or MVI? No fixed answer, right? That's Android.

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

      Let me tell you coming from Unity Game Dev its the same. I also dabbled in web dev and its the same. And with Android it does seem like its on another level which I contribute to simple fact; you gotta keep the many many devs they have employed... well employed. This is why keep inventing things since they have really not much to do once the whole framework has been done. I dont mind them adding new ways as long as the old way is still supported. Funny enough Unity added css style UI toolkit but I find their first one actually much better even compared to Android Layouts Xml. Its really easy to use and understand and to dock an UI element wherever you want and it scales up with screen size without fault.

    • @2005sty
      @2005sty 2 дні тому

      That is the problem within Google too