Kotlin Coroutines Basics | Coroutine Scope & Coroutine Context Hindi - CheezyCode

  Рет қаралды 58,422

Cheezy Code

Cheezy Code

Күн бұрын

Пікірлер: 120
@sandeepboyapati850
@sandeepboyapati850 3 жыл бұрын
Suggestion:- All the videos about coroutines on KZbin are uploaded a year or more back. And none of them explain such clearly with such examples. It's getting very easy for me to catch the topic. All I can say is THANK YOU 🖤🖤🖤. Spend some money to make the content reach more people.
@junigates
@junigates Жыл бұрын
Sir, just a humble request please make a complete series on WorkManager, Services and BroadcastReceivers together explain their uses and their relations between them. Bundle of thanks to you. Stay blessed! Others please if agree hit like to escalate the need of this series.
@rakshachoudhary6292
@rakshachoudhary6292 2 жыл бұрын
I am quite amazed how someone could explain one of the difficult topic of android in such a beautiful way that it seems very easy.
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Raksha
@rehandev7833
@rehandev7833 Жыл бұрын
Completed the entire playlist today and i think you create by far the most simplest explanation videos for Coroutines. I mean i do follow a couple of KZbin Channels for android dev but trust me when i say this, you just seem to make every hard topic easy to understand as well as implement. I pray to God that you're channel becomes the most popular resource for Android Development. And you keep on growing and making more and more awesome videos. Cheers :)🥳
@rkthebeast6910
@rkthebeast6910 3 жыл бұрын
mainey bohot video dekhey hai for understanding coroutine and to be pro in it including many famous foreign developer.... but the way you expalin and give extra knowledge is best
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks a lot.. 😊
@anasyousuf485
@anasyousuf485 8 ай бұрын
Teaching by rephrasing each topic in a different way makes me understand more clearly of everything, and that's the best approach. Feels like Hindi/Urdu should be used for us. ❤
@KDTechverse
@KDTechverse Жыл бұрын
This is insane ! I love this fact about learning and understanding concepts. You must've understood so well and must be pretty well experienced to put it this simply. Commendable job you're doing sir ! Thank you so much ! ❤
@sunildangi1228
@sunildangi1228 3 жыл бұрын
Boss.... Thank you so much... Awesome explanation... Your voice and teaching way is awesome.
@tabishkhan2012
@tabishkhan2012 3 жыл бұрын
Welcome back ❤️
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you 😊
@sakhti007
@sakhti007 3 жыл бұрын
you are the best teacher Sir, thankyou for the in depth knowledge of topics and crisp explanation of each and every part
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks a lot..🤘🏻
@junigates
@junigates Жыл бұрын
a simple and informative way of teaching, thanks a lot sir making us more skillful
@CheezyCode
@CheezyCode Жыл бұрын
Thanks and welcome
@junigates
@junigates Жыл бұрын
@@CheezyCode Sir, just a humble request please make a complete series on WorkManager, Services and BroadcastReceivers together explain their uses and their relations between them. Bundle of thanks to you.
@EngTechWithRakesh
@EngTechWithRakesh 2 жыл бұрын
You explain in very easy understandble language🙏
@mubaraknative
@mubaraknative Жыл бұрын
6:18 this is known as Multi-Threading in Java creating multiple threads to run a long running task , which is bad compared to Coroutines , Threads are Expensive that are vary user mobile systems Great Explanation Bhai!!!
@CheezyCode
@CheezyCode Жыл бұрын
Thank you 🤘
@mubaraknative
@mubaraknative Жыл бұрын
@@CheezyCode 😀
@yogeshb8368
@yogeshb8368 Жыл бұрын
Wish could give u one lakh likes..very well done man.
@rushikesh1203
@rushikesh1203 Жыл бұрын
You are a Gem. Just Completed Jetpack series. ❤
@rktechsoft605
@rktechsoft605 2 жыл бұрын
Easy to understand. Nice. Keep it up👍👍
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks a lot 😊
@yashbhardwaj6808
@yashbhardwaj6808 Жыл бұрын
He explained the coroutines in very easy manner. Thanks
@codetheandroid
@codetheandroid 3 жыл бұрын
bhaiya i have a doubt plz reply ....Jaise hm long-running tasks like parsing JSON data from API ke liye background threads ka use krte h pr vo processes dubara re-execute hoti h agr hm rotate kre phone ko. uske liye kya solution h plz btao
@EducationSimplified
@EducationSimplified 3 жыл бұрын
Android Architecture, Separation of concern, Json parsing ka code fragment ki activity file m nii aeyga, json parsing ka code Fragment ki viewmodel file m aeyga
@EducationSimplified
@EducationSimplified 3 жыл бұрын
On phone rotation fragment ki activity file recreate hoti h par fragment ki view model file nii recreate hoti, view model file sustains through the phone rotations
@codetheandroid
@codetheandroid 3 жыл бұрын
@@EducationSimplified then what should i do? Put background tasks method in view model file?
@CheezyCode
@CheezyCode 3 жыл бұрын
Watch this series...you will get the idea of placing these pieces...
@codetheandroid
@codetheandroid 3 жыл бұрын
@@CheezyCode bro i am using java and these are in kotlin 😕
@hiteshbitscs
@hiteshbitscs 2 жыл бұрын
you are such an incredible presenter... you made it very easy to understand very complex topic... power of mother tongue & your presentation are effective
@simranaggarwal9352
@simranaggarwal9352 11 ай бұрын
Why the output is "1- DefaultDispatcher-worker-1" in case of Global scope when IO Dispatcher is used? Going by the output, it looks as if the Default dispatcher was used. Am I missing anything?
@CheezyCode
@CheezyCode 11 ай бұрын
coroutines launched with Dispatchers .IO are executed on a pool of threads named "DefaultDispatcher-worker-X' Same for Dispatcher.Default
@simranaggarwal9352
@simranaggarwal9352 11 ай бұрын
@@CheezyCode Got it, thanks!
@MuhammadTahir1
@MuhammadTahir1 2 жыл бұрын
shukriya bhai itni achi explanation k liye
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you 😊
@poojari18
@poojari18 3 жыл бұрын
Excellent tutorial for Coroutines in Hindi. 👍👍
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you Poojaba for supporting 🤘
@Animefreak97
@Animefreak97 2 жыл бұрын
My concept got cleared thx alot i was really confused
@thre4dripper
@thre4dripper 2 жыл бұрын
best explanation of coroutines
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Ijlal
@shubhamsharma6070
@shubhamsharma6070 Жыл бұрын
What's the song that plays in the end of this video? Catchy lyrics and music
@TechSpot56
@TechSpot56 2 жыл бұрын
Thanks for making such a difficult topic so easy for us.❤️
@shalinikhosla971
@shalinikhosla971 3 жыл бұрын
Please upload more videos soon.. Thankyou for explaining in such a grt way
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you Shalini 👍
@SanjeevKumar-s3p9v
@SanjeevKumar-s3p9v Ай бұрын
Very well explained
@utkarshkumar1080
@utkarshkumar1080 2 жыл бұрын
Sir is this a complete course of kotlin Coroutines ? or is it enough for making projects with it and for interview ?
@CheezyCode
@CheezyCode 2 жыл бұрын
More than enough...
@utkarshkumar1080
@utkarshkumar1080 2 жыл бұрын
@@CheezyCode Thank You so Much Sir I love your channel so so so so so much 😍😍😍😍😍,the way you teach is outstanding 🤩🤩🤩🤩🤩🤩🤩
@vivektpss62
@vivektpss62 2 жыл бұрын
Great work man ! You cleared my doubts ..
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Vivek 🙂
@vikassharma-by4kw
@vikassharma-by4kw 2 жыл бұрын
i have one question. why you don't put Dispatcher inside the MainScope() instead of MainScope().launch(Dispatcher.Def).ike you Put GlobalScope(Dispatcher.Main) ?
@CheezyCode
@CheezyCode 2 жыл бұрын
no specific reason...we can use MainScope
@shivagiri7406
@shivagiri7406 2 жыл бұрын
Amazing explanation.
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Shiva
@samirgawas
@samirgawas 3 жыл бұрын
Thank you for making such a wonderful videos for us...It's really easy to understand Guru
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you 🤘
@shreyashachoudhary480
@shreyashachoudhary480 2 жыл бұрын
Superb content!
@nirmalrevar
@nirmalrevar 11 ай бұрын
Very informative video, is it possible for you to share PPT slide (or PDF) as-well, it helps for revision for interview purpose.
@CheezyCode
@CheezyCode 11 ай бұрын
Watch the video again 😂
@няє-в4н
@няє-в4н 2 жыл бұрын
Sir counter button click pe increment nahi ho raha kya karoo ?
@CheezyCode
@CheezyCode 2 жыл бұрын
What's the issue?
@няє-в4н
@няє-в4н 2 жыл бұрын
@@CheezyCode Ho. Gya increment but sir jessa aap ne kiya Onclick ke sath nhi ho raha tha... To me ne onCreate button listener ke through ho gya
@jeet198
@jeet198 Жыл бұрын
Nice tutorial. I want to ask that still no framework for java for such task?
@sanjaytanti3085
@sanjaytanti3085 2 жыл бұрын
Great concept .thanks
@Sikarwar0020
@Sikarwar0020 3 жыл бұрын
Well Explained Sir G 🤩
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you Vipin for always supporting ❤️
@deepikabisht4325
@deepikabisht4325 Жыл бұрын
Thanks for the wonderful tutorial. Could you please explain the difference between calling a coroutine using CoroutineScope and global scope?
@googlysahoo1397
@googlysahoo1397 2 жыл бұрын
How to know when to use CoroutineScope, globalscope and mainscope, also dispatcher.IO, dispatcher.main & dispatcher.default?
@CheezyCode
@CheezyCode 2 жыл бұрын
Coroutine Scope for Android - not required as we have component specific Scopes i.e. ViewModelScope, LifeCycleScope GlobalScope can be used if you want application level scope for your coroutines. For Android it is not recommended. For testing purposes you can use. MainScope is fine but use LifeCycleScope instead. Dispatchers.IO - when you want to do IO Operations. Dispatchers.Main - want to execute something on Main Thread. (UI Update in Android) Dispatchers.Default is for nomal computation. Hope this helps.
@googlysahoo1397
@googlysahoo1397 2 жыл бұрын
@@CheezyCode Thank you so much.
@chetantailor3620
@chetantailor3620 3 жыл бұрын
Very informative video, Average how many videos will be there in the coroutines playlist?
@CheezyCode
@CheezyCode 3 жыл бұрын
7-8 ke kareeb mei cover hojayega
@satheeshguduri
@satheeshguduri 3 жыл бұрын
Well Explained, Thanks...
@CheezyCode
@CheezyCode 3 жыл бұрын
Thank you Satheesh 😀
@nayannit
@nayannit 3 жыл бұрын
You are Awesome ♥️
@CheezyCode
@CheezyCode 3 жыл бұрын
Thanks 😊
@govindchoudhary7311
@govindchoudhary7311 3 жыл бұрын
Thank you sir , Please make it fast fast video on Coroutine,
@CheezyCode
@CheezyCode 3 жыл бұрын
Fast fast mei content ki quality gir jayegi...mann se banane mei time lag rha hai --- shabd chunne mei time lag jata hai bro 😀
@sanjana8267
@sanjana8267 2 жыл бұрын
Thank youuu sooo muchhh!!!!
@CheezyCode
@CheezyCode 2 жыл бұрын
You're welcome!
@dubaiworld5256
@dubaiworld5256 2 жыл бұрын
Awesome 👌
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Dubai 😃
@iswherevivek
@iswherevivek 11 ай бұрын
bro u r best
@ihareshvaghela
@ihareshvaghela 9 ай бұрын
Thank you!
@schoolbari3859
@schoolbari3859 2 жыл бұрын
Just great
@kishorramani007
@kishorramani007 2 жыл бұрын
What's the use of "Default" dispatchers?
@CheezyCode
@CheezyCode 2 жыл бұрын
Requesting you to watch the series till the end...you will get the answer
@saifkhan2206
@saifkhan2206 2 жыл бұрын
bhaiiiiiii stay blessed
@CheezyCode
@CheezyCode 2 жыл бұрын
Thanks Saif
@ayanmalik1430
@ayanmalik1430 2 жыл бұрын
Apko agar GEM bole to tabhi kam soga sir!! Great Explanation !!
@CheezyCode
@CheezyCode 2 жыл бұрын
🙏
@shalenmathew
@shalenmathew Жыл бұрын
Great video
@harshverma9616
@harshverma9616 2 жыл бұрын
Please make a video for uses of API using kotlin
@CheezyCode
@CheezyCode 2 жыл бұрын
??
@JaiSingh-nf6rm
@JaiSingh-nf6rm 3 жыл бұрын
Make video on how develop android app for all screen sizes with example ?
@CheezyCode
@CheezyCode 3 жыл бұрын
Constraint layout without hardcoding values....some of them require dp values but that can be handled by defining a layout.
@JaiSingh-nf6rm
@JaiSingh-nf6rm 3 жыл бұрын
@@CheezyCodeI know bro mai ehi jawab deta hu agee but muhje meree friend circle se eshi ke regarding bhout questions atee hai ke all screens sizes ke leyee android app kehse develop karee apka tohh youtube channel hai tohh agar app video banaa do ge bhout onsabhi ka help hoga aur mai agee share karr paoo ga aur apka content. Bhi ban jayee ga that's it
@arjunkataksh
@arjunkataksh 2 жыл бұрын
I am not able to understand what is the difference between Dispatchers and Coroutine Context ?
@CheezyCode
@CheezyCode 2 жыл бұрын
- Coroutines are run inside Coroutine Context - Context majorly tells you 2 things - Dispatchers + Job - That means, Coroutine Context includes Dispatcher and Job Element. - Dispatcher defines the thread, Job provides you handle to the coroutine. In simple words - jo mind mei baitha rkha hai - Context aapka Thread pool define karta hai jispe aapke coroutines run honge. Predefined thread pools hai jinko dispatchers bol rahe h. Dispatchers.IO, Dispatchers.Main etc. Baaki Job important concept hai - coroutines ko handle karne ke liye. Hope this helps.
@hardcodeandroid
@hardcodeandroid 3 жыл бұрын
thanks sir
@abromioitis
@abromioitis 3 жыл бұрын
Sir please make a playlist on handling background task (AsyncTask,Loders,Threads) they are very confusing and i don't find any sequential order resource from where i can learn them can ????? can you give me the link or can you make a new video series on this topic. like you have made on android system archetecture. #WithDueRespect
@CheezyCode
@CheezyCode 3 жыл бұрын
Will definitely try ❤️
@abromioitis
@abromioitis 3 жыл бұрын
@@CheezyCode thanks
@iiitsricity3171
@iiitsricity3171 2 жыл бұрын
Aap teacher nahi bhagwan ho🙏
@CheezyCode
@CheezyCode 2 жыл бұрын
Arre arre arre...🙏 Insaan shi banjaye...utna he kaafi hai 😂
@S_Crypto
@S_Crypto 3 жыл бұрын
Bhai Mera ❤️ Kahan hai?
@CheezyCode
@CheezyCode 3 жыл бұрын
Ye lo bro.... ❤️
@nikhilarora6043
@nikhilarora6043 2 жыл бұрын
Bro try to be a bit slow. It's difficult to follow you at this pace.
@CheezyCode
@CheezyCode 2 жыл бұрын
Sure will do that next time.
@kaushiksaha8479
@kaushiksaha8479 2 жыл бұрын
@@CheezyCode I also used to face difficulty to follow along...but then I just lessen the playback speed,no worry sir, you just teach at your own flow,what you are doing deserves huge round of applause .
@heavenlife5619
@heavenlife5619 Жыл бұрын
bhai tumhare maze h tumhe koi fire nhi kr sakte itna sab kuch aata h tumhe
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 138 М.
Kotlin & Functional Programming: pick the best, skip the rest by Urs Peter
43:49
The Basics - Kotlin Coroutines
10:44
Stevdza-San
Рет қаралды 90 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН