I just completed this Flows series. Thank you CheezyCode for providing such straightforward and clear explanation videos and tutorials. I am an Android Developer and whenever I need to learn something new, I visit CheezyCode first. You have helped me a lot in my Android development journey. Thank you, again.
Great tutorial and channel I had a career break of 6yr and while learning kotlin corutine and flows amazing explanation help me a lot thank you so much 🙏
sir last mhe konsa song hai ? completed your series one of best channel for android best teacher i seen in my life thank you sir without you i will be like a computer sirf rata marke concept implement karta kabhi samj nahi ata y it used what it solves , Thank you sir ur best Teacher ,can you mention your linkedin profile
Sir Maja hi aa gaya you are really confidence booster 😍😍😍😍😍,Sir aur videos bachi hai is playlist me ? I am preparing for interview in top MNC is this playlist enough ? and Sir one more thing aap kaha job karte ho ?
thank you...interview ke liye I guess kaafi hai ...bas MVVM mei integrate aur karlo...uspe video dalni hai thoda samay lenge...but jaldi he upload karta hu....ek US based company hai...Noida mei dev center....
@@CheezyCode yes, stateFlow is a flow. I am saying you said and labelled the difference as 'LIVEDATA VS STATEFLOW' when it doesn't contain any particular property of stateFlow, all difference are of flow. Label ' livedata vs flow' is more accurate imo
Thanks for the video , Its really helpfull , I just wanted to know is there any videos coming on these flows ??? i means is der any major concepts remaining in this flows section ??? coz i am preparing for interview on ur video basis . . . major topics
Explanation at the easiest level! However, I have a question here. When explaining difference between LiveData and StateFlow, you said that Livedata is lifecycle aware but if we are collecting a flow inside a coroutine scope then does that means StateFlow is also lifecycle aware, as coroutine also has a lifecycle scope?
@@CheezyCode let me rephrase it, what is scope of "CoroutineScope(...).launch " this piece of code . I want to know scope of this. The lifecycle,global scopes I understood but scope of code in quotation I do not know
Good explanation of flow...thank you for this smooth understandable video....can you make a video for Android HAL (camera, audio, media player,BLe etc) concept please.
Thank you so much for the lovely tutorials. You explain very nicely. I have a question If we use SharedFlow with replay 1 then Isn't it the same as StateFlow?
State Flow will provide you only current state. But let's say as you subscribe, emitter starts emitting...you will be getting 2 values at the same time(one because of replay and other one will be currently emitted value)...but with state Flow you will only get 1 value and that will be the latest one no matter what. Semantic difference hai...stateflow means flow having state
Bhai Shared flow to samajh main aagaya and State flow bhi but State Flow ka kuch real world example miljata to samajhne main asani hoti aaur, jaise aapne shared flow ka example deke samjhaya cinema hall wala.. waisa kuch real world scenario main or else programming main kab use kare shared flow wo jan.na hai
/* different topics */ Sir , I have some data which I want to use in my entire app but dont want to use bundle or put extra method to send data to different activities or fragment Is there any way to do that please tell me
you can keep them in application object - but risky hoga toh keep it as singleton...make sure you don't pollute the global object...warna soch ban jaati hai baad mei ki sab kuch global pe he rakhdo....jetpack data store can also be used , create a wrapper around it to get the data from that...single place of getting and storing the object.
I just completed this Flows series. Thank you CheezyCode for providing such straightforward and clear explanation videos and tutorials. I am an Android Developer and whenever I need to learn something new, I visit CheezyCode first. You have helped me a lot in my Android development journey. Thank you, again.
Great tutorial and channel I had a career break of 6yr and while learning kotlin corutine and flows amazing explanation help me a lot thank you so much 🙏
Nice instructor.
Hr topic clarity k sth smjhaya hai.
beautiful series of 6 vedios short, simple & crystal clear, Thnks sir🙏
I can say just amazing explain by Cheezy code
Just completed whole series. Great tutorial. Thank you for such clear and concise explanations.
You're very welcome!
Thank you for making this playlist
You've made flow simple 😊
I appreciate your clear communication. Thanks!
Excellent, Outstanding. You made Flow simple!!
Simple and sweet explanation.... with no bakhwas like angragi videos.😄
sir last mhe konsa song hai ? completed your series one of best channel for android best teacher i seen in my life thank you sir without you i will be like a computer sirf rata marke concept implement karta kabhi samj nahi ata y it used what it solves , Thank you sir ur best Teacher ,can you mention your linkedin profile
Explained in very simple terms. Great !!! Keep it up !
Best, simple clear, Thank you for such quality contents
Thanks man. Really well explained!
Timimg at 5:38, shows that item ("5") collected before emitting why this output?
Sir Maja hi aa gaya you are really confidence booster 😍😍😍😍😍,Sir aur videos bachi hai is playlist me ? I am preparing for interview in top MNC is this playlist enough ? and Sir one more thing aap kaha job karte ho ?
thank you...interview ke liye I guess kaafi hai ...bas MVVM mei integrate aur karlo...uspe video dalni hai thoda samay lenge...but jaldi he upload karta hu....ek US based company hai...Noida mei dev center....
@@CheezyCode Ok Sir thanks for the guidance 🥰
Best explanation ever
Brilliant videos. Thank you so much
Tussi great ho aap🙇
Thank you 😃
Simple and clear . Thank u ☺️
The difference in last 10:21 , isn't it between flow and live data rather than state flow and live data??
State Flow is a flow?
@@CheezyCode yes, stateFlow is a flow. I am saying you said and labelled the difference as 'LIVEDATA VS STATEFLOW' when it doesn't contain any particular property of stateFlow, all difference are of flow. Label ' livedata vs flow' is more accurate imo
Yes... generally people use stateflow to replace livedata that is why I have written this.
@@CheezyCode ok understood.
Nice video btw. All of your videos are really helpful. Thank you very much for creating.
Thanks for the video , Its really helpfull , I just wanted to know is there any videos coming on these flows ??? i means is der any major concepts remaining in this flows section ??? coz i am preparing for interview on ur video basis . . . major topics
Majorly yehi hoga...baaki operators he h...uski koi limit nahi...concepts isse deep mei nahi puchne chaiye interview mei
Superb sir 👌 👏
Thanks for this series :)
Mind blowing sir 🔥🔥🔥❤️❤️❤️
Thank you 😃
very nice and well explained...
Thanks Anup
Sir, plz make a video on Unit testing Mockito, JUnit, Roboelectric
Explanation at the easiest level! However, I have a question here.
When explaining difference between LiveData and StateFlow, you said that Livedata is lifecycle aware but if we are collecting a flow inside a coroutine scope then does that means StateFlow is also lifecycle aware, as coroutine also has a lifecycle scope?
Not directly aware but linked via coroutine scope
nice content sir
At 6:35 what if we used replay in sharedflow will it collect since emit has stopped after 6 ms.
yes that's why it is a special type of Shared Flow...isme ek concept aur hai - Conflation ka - i.e. it will keep the latest value
Good question hai waise....that means you understood the concepts well... 🤘
@@CheezyCode Also coroutineScope does not have lifecycle so what happens if app is closed, will it still work or stop.
Scopes hote hai coroutines ke...like viewmodel scope and lifecycle Scope... activity destroy hogi toh lifecycle Scope bhi destroy hojayega...uske andar ka flow bhi....app close pe activity destroy nahi hui hogi toh maintain hona chaiye
@@CheezyCode let me rephrase it, what is scope of "CoroutineScope(...).launch " this piece of code . I want to know scope of this. The lifecycle,global scopes I understood but scope of code in quotation I do not know
Good explanation of flow...thank you for this smooth understandable video....can you make a video for Android HAL (camera, audio, media player,BLe etc) concept please.
Thanks...will see
@@CheezyCode thanks you 😊
Thank you so much for the lovely tutorials. You explain very nicely.
I have a question If we use SharedFlow with replay 1 then Isn't it the same as StateFlow?
State Flow will provide you only current state. But let's say as you subscribe, emitter starts emitting...you will be getting 2 values at the same time(one because of replay and other one will be currently emitted value)...but with state Flow you will only get 1 value and that will be the latest one no matter what.
Semantic difference hai...stateflow means flow having state
Hope this helps 🤘🏻
@@CheezyCode okey it means sharedFlow is not giving us latest value where as stateFlow is giving latest value right ?
If I need to return non-stream kind of data like api response of any profile, so should I use flow or simple suspend function?
i guess simple suspend function
Bhai Shared flow to samajh main aagaya and State flow bhi but State Flow ka kuch real world example miljata to samajhne main asani hoti aaur, jaise aapne shared flow ka example deke samjhaya cinema hall wala.. waisa kuch real world scenario main or else programming main kab use kare shared flow wo jan.na hai
Jahan pe livedata use kar rahe ho...waha pe stateflow se replace kardo...notes wali app mei replace karke dikhata hu jaldi he
@@CheezyCode Sahi hai bhai just post kiya aapne, dekh raha hun StateFlow vs LiveData. Notes app
was this last video of flows series?
Inhone number nai daala 1 2 karke mera v bhatkao ho gaya tha 😅
Playlist h 😂 jitne hai yehi h....
@@CheezyCode ok sir
hello sir, what is Rxjava??
i m confused for Rxkava n liveData both are same ya different??
RxJava - duniya hai poori..
LiveData - uska minuscule version hai...RxJava ka ek concept hai uska chota sa implementation hai....
Very good
Thanks 👍
Personal note: stateFlow vs livedata
/* different topics */
Sir , I have some data which I want to use in my entire app but dont want to use bundle or put extra method to send data to different activities or fragment
Is there any way to do that please tell me
you can keep them in application object - but risky hoga toh keep it as singleton...make sure you don't pollute the global object...warna soch ban jaati hai baad mei ki sab kuch global pe he rakhdo....jetpack data store can also be used , create a wrapper around it to get the data from that...single place of getting and storing the object.
@@CheezyCode sir shared preference nahi use kar sakte kya??
Thanku Sir....Awesome....
🤘
Thanks Sir
Welcome ✌
good video. but i want help in socket tcp client server so can you help me here
?
@@CheezyCode how to send data from our app to laptop?
Via bluetooth karlo..socket tak mat pahocho...
@@CheezyCode haa but wapas data socket server se lenaa bhi hai naa like TCP client or TCP server dono use krnaa hai.ye chij Bluetooth me kese hogaa
बहुत बढ़िया, साला कन्फ्यूज कर रखा था