Intuitive: Thinking in Compose - MAD Skills

Sdílet
Vložit
  • čas přidán 12. 09. 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
  • Věda a technologie

Komentáře • 39

  • @Sherimankind
    @Sherimankind Před rokem +22

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

    • @AndroidDevelopers
      @AndroidDevelopers  Před rokem +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 Před rokem

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

  • @SoulReaperDan1
    @SoulReaperDan1 Před rokem +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  Před rokem +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 Před 11 měsíci +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 Před 9 měsíci

      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 Před rokem +4

    Can't wait for the next video. 😁

  • @randy4ii411
    @randy4ii411 Před rokem +10

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

  • @luisdavidorellana
    @luisdavidorellana Před rokem +4

    Compose es maravilloso!

  • @albab790
    @albab790 Před rokem +2

    Tankyou so much

  • @whatahellMW2
    @whatahellMW2 Před rokem +2

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

  • @jatinsingalEARCS
    @jatinsingalEARCS Před rokem +2

    Please make video on dagger hilt library

  • @88paramvirsingh
    @88paramvirsingh Před měsícem +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 Před rokem +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 Před rokem +2

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

  • @ellasaro
    @ellasaro Před rokem +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 Před rokem

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

  • @manshalkhatri9289
    @manshalkhatri9289 Před rokem +2

    Helpful

    • @AndroidDevelopers
      @AndroidDevelopers  Před rokem +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 Před rokem +2

    INTUITIVE : THINKING IN COMPOSE - MAD SKILLS

  • @dropatiyadav146
    @dropatiyadav146 Před 4 měsíci

    🎉 ok thanks

  • @llothar68
    @llothar68 Před rokem +2

    Declarative GUI only work for simple ui

    • @kishanbsh
      @kishanbsh Před rokem +3

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

  • @markrussell4682
    @markrussell4682 Před rokem +1

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

  • @user-dz3hu8dj1t
    @user-dz3hu8dj1t Před měsícem

    😎😎😎

  • @jopadjr
    @jopadjr Před rokem

    492nd...Thanks Chris

  • @qinbiaojiang9473
    @qinbiaojiang9473 Před 2 měsíci

    感谢(🙏ˊᗜˋ*)

  • @arthurmsiska3800
    @arthurmsiska3800 Před rokem +2

    Compose gives me headaches😩

  • @salemsalem9725
    @salemsalem9725 Před rokem

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

  • @aungmyat5497
    @aungmyat5497 Před rokem

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

    • @voidbyte
      @voidbyte Před rokem +1

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

  • @TheMikkelet
    @TheMikkelet Před rokem +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 Před 9 měsíci +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 Před 4 měsíci +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 Před dnem

      That is the problem within Google too