Android Jetpack Compose Recomposition | Best Practices | CheezyCode Hindi

  Рет қаралды 14,720

Cheezy Code

Cheezy Code

Жыл бұрын

Learn Jetpack Compose in Android. Learn what is recomposition in Jetpack Compose. What is Intelligent Recomposition, how compose optimize performance while calling different composable functions. Initial Composition vs Recomposition in Compose. Composables are pure function that should be free from side-effects. It should not update any variables outside the boundary of a composable. Composable can run in any order or in parallel. We have to make sure that we write a self sustained composable function that can be reused across different screen without causing any side effect.
Composables are called multiple times during the lifetime, try avoiding heavy operations or network calls inside composable function.
Learn step by step on how to use these Composable functions along with the best practice. Everything is explained in Hindi (हिन्दी)
Topics covered -
1. What is Composition and Recomposition
2. How Jetpack Compose calls composable function to update UI.
3. State Object and Remember
4. Example of Recomposition
Kotlin Flows Playlist -
• Kotlin Flows Tutorials
Jetpack Paging Tutorial -
• Android Paging 3 | Jet...
Complete Dependency Injection Playlist Link -
• Dagger 2 - Dependency ...
Complete Android Architecture Components Playlist -
• Android Architecture C...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit the below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode

Пікірлер: 25
@iampradeephr
@iampradeephr Жыл бұрын
Damn! Recompositon is so intellegent and optimized😲. Thanks for starting this series 🙏Helping me to switch to compose.
@ShijenN
@ShijenN Жыл бұрын
Motivating me to switch to compose !
@kodedroid
@kodedroid 11 ай бұрын
Very nice channel, create Flutter series too.
@superhem420
@superhem420 Жыл бұрын
Pls continue this series❤
@rishikeshsingh9946
@rishikeshsingh9946 Жыл бұрын
going good compose
@RAJSINGH-mr7hq
@RAJSINGH-mr7hq Жыл бұрын
Superb sir 👌 👏
@techietoons
@techietoons Жыл бұрын
Our love for your channel recomposes with every new video..
@CheezyCode
@CheezyCode Жыл бұрын
❤️
@techietoons
@techietoons Жыл бұрын
@@CheezyCode Hi, I have a doubt. How can we do Conditional Recomposition. Like I want to change UI only when my 'state variable' has specific values. For example: In a counter, I want UI to recompose only when count value is multiple of 10. Basically I want to reduce recompositions for the unnecessary state values. Thanks
@xolo2617
@xolo2617 Жыл бұрын
great sir
@souravsuman636
@souravsuman636 Жыл бұрын
Thank you sir
@learner8362
@learner8362 Жыл бұрын
We love you sir 😍😍
@CheezyCode
@CheezyCode Жыл бұрын
Thank you ❤️
@ahtishamali7987
@ahtishamali7987 Жыл бұрын
Greate
@nimeshluhana4796
@nimeshluhana4796 7 ай бұрын
Thank you for the video😊. I have a doubt to ask, in the last example you shared, the button is merely changing the value of the state variable. If the value changes, then the button itself is not impacted, it is the Text in it that is impacted, so why is recomposition called on both, and not just the text instead?
@vaibhavpatil8297
@vaibhavpatil8297 Жыл бұрын
Please start a Firebase series tooo
@ManishKumar-uc1rw
@ManishKumar-uc1rw 3 ай бұрын
2:19 me state object details
@shivamagrawal2284
@shivamagrawal2284 Жыл бұрын
Your video ending music is lit 👌Can you share the title of that music ? 🎶🎶
@CheezyCode
@CheezyCode Жыл бұрын
inhouse hai....release nahi kiya track...
@techietoons
@techietoons Жыл бұрын
@@CheezyCode 50k subs me release bole the.. abhi tak kiya nahi.. sab doglapan hai..
@attamuhammad68
@attamuhammad68 11 ай бұрын
@@CheezyCode not bad
@ishaileshmishra
@ishaileshmishra Жыл бұрын
Please help us with complete app playlist on compsable.
@CheezyCode
@CheezyCode Жыл бұрын
Yes once basics are covered...will be creating an app.
@AsadWaheedWITS
@AsadWaheedWITS Жыл бұрын
@@CheezyCode please also include side menu navigation in that app
@engineersagar
@engineersagar 9 ай бұрын
Rip diffutil
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 74 М.
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,5 МЛН
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 5 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
HTMX, the anti JS framework (vs React)
7:17
Kodaps Academy
Рет қаралды 68 М.
24) Kotlin interface | Kotlin Tutorial in Hindi & Urdu
2:38
Aamir Backend Dev
Рет қаралды 114
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 779 М.
You're Collecting Your Flows Wrong In Compose | THIS Is Why
11:35
Philipp Lackner
Рет қаралды 27 М.
Don't Do THIS Jetpack Compose Mistake
8:12
Philipp Lackner
Рет қаралды 20 М.
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 510 М.