Jetpack Compose: Debugging recomposition

  Рет қаралды 32,100

Android Developers

Android Developers

Күн бұрын

Пікірлер: 49
@rohanmanchanda5250
@rohanmanchanda5250 2 жыл бұрын
Crickey Mite!! It was actually the kind of video that many of us needed. It's like you took the video right out of our brains...
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We really appreciate your feedback and support, Rohan! Glad you enjoyed this 😀 Don't forget to check out the links in the description for more tips and tutorials!
@bentrengrove
@bentrengrove 2 жыл бұрын
🇦🇺🪃
@KofiAccra
@KofiAccra 2 жыл бұрын
This video was dropped at the perfect time! thank you!
@ehsanshadi810
@ehsanshadi810 2 жыл бұрын
That was really informative. So many good ideas. Like how to use the layout inspector and fixing unnecessary recompositions.
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
Thank you so much for your feedback and support, Ehsan! Be sure to subscribe to stay updated with all the latest from Android Developers: goo.gle/AndroidDevs
@yasserakbbach7342
@yasserakbbach7342 2 жыл бұрын
We need more of this
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We really appreciate the positive feedback, Yasser! Thanks for watching 😎 Don't forget to check out the links in the description for more tips and tutorials!
@EdgarGarcia17
@EdgarGarcia17 6 ай бұрын
Exactly what I needed 🎉thanks a lot.
@Raptorel
@Raptorel 20 күн бұрын
Super interesting, thanks!
@YairCarreno
@YairCarreno 2 жыл бұрын
What valuable information 🔥. Thank you very much for this video 🙏. Now I want to debug my application, and we'll see how many recomposition defects I find 😁.
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
Thanks for taking the time to share your feedback with us, Yair! We appreciate you 👍 Don't forget to check out the links below the description for more tips and tutorials!
@gregdomski
@gregdomski 2 жыл бұрын
Nice! Thank you. You should also include information about your Android Studio setup since the fonts and colors look good!
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
Thank you for your feedback, we really appreciate it 😀 We're glad you enjoyed the video! Be sure to check out the links in the description for more tips and tutorials!
@bentrengrove
@bentrengrove 2 жыл бұрын
It's just the built in template, Darcula
@KingFuYouTube
@KingFuYouTube 2 жыл бұрын
Thank you for the tip! can we have more of this please.
@NealSanche
@NealSanche 2 жыл бұрын
Next, do this work at the compiler layer so we don't have to?
@odifek
@odifek 2 жыл бұрын
What version of android studio has this feature please?
@elliotskinner3097
@elliotskinner3097 2 жыл бұрын
Electric Eel which is the current canary build
@bentrengrove
@bentrengrove 2 жыл бұрын
Recomposition counts are in Dolphin 🐬. Recomposition highlighting is in Electric Eel ⚡
@ingenieroluisfer
@ingenieroluisfer Жыл бұрын
👋🏼🇨🇴🧔🏻👍🏼🤝🏻 Saludos desde la ciudad de Bogotá
@ashwin_mahajan
@ashwin_mahajan 2 жыл бұрын
Love Compose, thx
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We're delighted that you enjoy using Jetpack Compose, Ashwin! Thanks for the support 🙌
@IncompleteTheory
@IncompleteTheory 2 жыл бұрын
Nicely done and in line with many recent help docs and videos from Google. So, nice though as Compose is - I can't help but feel a bit scared that you need to tread this carefully to realize rather basic UI design. Google will have to keep on praying these details because people will make those kinds of mistakes over and over again. I hope tooling will continue to improve to help catch some of this.
2 жыл бұрын
My app is crashing everytime I try to use the layout inspector
@yerlansarsenov1202
@yerlansarsenov1202 2 жыл бұрын
Very informative content, thanks a lot! What if instead of passing lambda, we'll pass State and read the value as state.value? I think it should work in similar way as passing lambda. Please, let me know any insight
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
Hi Yerlan, thanks for watching! While this does work, we discourage it as it generally makes your code harder to write and understand. For instance, you wouldn't be able to use the "by" property delegate for state anymore and would have to change all your states read to state.value. Hope this helps clarify 🙂
@ellasaro
@ellasaro Жыл бұрын
In the Blog post, after switching to scrollProvider but still using graphicLayer's "regular" version (the steps are done in a different order), it says: "This will defer the reading of state and at least limit the scope of recomposition to just the Title composable." - But this was always the case wasn't it? Only Title compose was being recomposed right from the beginning, or am I missing something? Thanks for this video + article.
@LightDante
@LightDante 2 ай бұрын
Is it possible for the compose to defer read itself?
@codeforandroid
@codeforandroid 2 жыл бұрын
Very Nice learning video
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We really appreciate the positive feedback! Thanks for watching 😃
@mamuwu7873
@mamuwu7873 2 жыл бұрын
Amazing
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
Thanks for watching😀 If you enjoyed this video, check out the links in the description for more tips and tutorials!
@ellasaro
@ellasaro Жыл бұрын
Since Box is an inline function and as such it does not act as a recomposition scope, shouldn't the entire SnackDetail recompose at the beginning of the video, too?
@louiscad1149
@louiscad1149 2 жыл бұрын
Good stuff.
@mohammad-hossein-farzanegan
@mohammad-hossein-farzanegan 7 ай бұрын
Thanks.
@albab790
@albab790 2 жыл бұрын
Thanks
@tenseikenzx-3559
@tenseikenzx-3559 2 жыл бұрын
Great stuff
@ngomdecadetkamdaou3464
@ngomdecadetkamdaou3464 2 жыл бұрын
Thanks, That was very helpful. But my app keeps crashing when I open the layout inspector in both AS Dolphine 2021.3.1 and flamingo 2022.2.1 Canary 1
@eganathan.r
@eganathan.r 2 жыл бұрын
Thank you
@hescul
@hescul 2 жыл бұрын
i love this
@qianlvable
@qianlvable Жыл бұрын
It is too tricky for developing this UI
@Maarttttt
@Maarttttt 2 жыл бұрын
Pleeeeeaaaaaaase fix the layout inspector. It keeps on crashing
@jg-jsbg4725
@jg-jsbg4725 2 жыл бұрын
JETPACK COMPOSE : DEBUGGING RECOMPOSITION
@zakishaikh2223
@zakishaikh2223 2 жыл бұрын
Hey Android team, I want to know that when will you launch design to code plugin for Android studio
@Daisonpage
@Daisonpage Жыл бұрын
modern app development is already as simple as 1+1. the more you facilitate - the more you loose in performance. the rule that won't be broken for the next decade for sure.
@rabiulytvolog01
@rabiulytvolog01 2 жыл бұрын
its true
@noctislucispacis6082
@noctislucispacis6082 2 жыл бұрын
Hello don't hidden usb debbugging Putting in setting Add Thermal Monitor Add Built in Gcam any Device
@agungwatanabe318
@agungwatanabe318 2 жыл бұрын
The recomposition is gone, but my app still has scrolling lag issue. Both Modifier.offset { } or Modifier.graphicsLayer { }. Any ideas?
Recomposition - Jetpack Compose
7:37
Stevdza-San
Рет қаралды 60 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
4 Ways To Debug Recomposition in Your Jetpack Compose UI!
7:25
Charfaoui Younes
Рет қаралды 1,5 М.
More performance tips for Jetpack Compose
20:47
Android Developers
Рет қаралды 42 М.
Performance Optimization with @Stable and @Immutable in Jetpack Compose
16:47
Debugging Jetpack Compose
21:27
Android Developers
Рет қаралды 26 М.
THIS Compose-State Mistake Leads to Problems In Your Code
7:58
Philipp Lackner
Рет қаралды 47 М.
Compose Modifiers deep dive
21:02
Android Developers
Рет қаралды 36 М.
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 68 М.
How to Navigate in Jetpack Compose 🚀 | Android Studio | 2024
13:45
Don't Do THIS Jetpack Compose Mistake
8:12
Philipp Lackner
Рет қаралды 21 М.