Android ViewModel Tutorial| Android Jetpack Components Hindi- CheezyCode #3

Android ViewModel Tutorial| Android Jetpack Components Hindi- CheezyCode #3

Cheezy Code

3 года назад

53,128 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Siddharth Yadav
Siddharth Yadav - 16.04.2023 15:13

Great 👌👌

Ответить
satyam iov
satyam iov - 10.03.2023 13:56

1 video = 1 topic finish

Ответить
Samarth Sevak
Samarth Sevak - 26.12.2022 19:53

Ending sound track is awesome... can anyone share me the link for the same.

Ответить
piyush dhiman
piyush dhiman - 25.12.2022 19:26

Good Tutorials !! Please make compose UI tutorials also soon !!

Ответить
Sangita Angbo
Sangita Angbo - 30.11.2022 11:07

# view is to show data and viewModel is to store data.

Ответить
Divya Yash
Divya Yash - 25.11.2022 06:30

Excellent explanation!

Ответить
Mahesh
Mahesh - 15.09.2022 22:14

nic explaination

Ответить
Mohit Karanjawala
Mohit Karanjawala - 10.07.2022 13:35

sir i want to ask one question when previous activity method onDestroy() is called then how viewmodel is retained why not destroyed.

Ответить
Milan Gajera
Milan Gajera - 24.05.2022 13:41

Hello Sir, When we create an instance of the ViewModel in an Activity we passed this. Here This is the refers to the current class object or variable it means an activity class. When during the configuration chagnes our activity onDestory() and onCreate() happens. then How ViewModel survives the configuration changes. Here this means out activity destroy there is no longer visible. If we pass this Why ViewModel not destroyed? What is the meaning of passing this while we creating an instance of the ViewModel in an Activity?

Could you please give me a good explanation with practical cases?

Ответить
Shubham Thorat
Shubham Thorat - 22.04.2022 10:06

Simply awesome ⭐⭐⭐

Ответить
Ashish Gautam
Ashish Gautam - 06.04.2022 19:49

Nice Explanation ..

Ответить
Sarabjeet Singh Hora
Sarabjeet Singh Hora - 02.03.2022 11:20

Beautiful

Ответить
preeti kumari
preeti kumari - 01.03.2022 13:01

Could you share the source code

Ответить
Priyam Prakash
Priyam Prakash - 03.02.2022 12:13

Can you share the PPT ?

Ответить
sunil n raikar
sunil n raikar - 25.12.2021 14:22

Thanks

Ответить
Sagar Aghara
Sagar Aghara - 21.11.2021 16:21

Sir you have World top knowledge as per my opinion, Great video & Explanation, Really very appreciate Subscribed 🙏👍.
And sir 1 Que tha ki, (MainViewModel::class.java) esa kyu likhte he? I mean Kotlin he to Java kyu aaya Last me? Mene aapki Beginner Kotlin Series bhi Complete dekhi, but ye JAVA likha wo kahi nai mila, so Plz sir tell me at your time, Thank you 👍

Ответить
Rohan Kumar
Rohan Kumar - 12.10.2021 06:43

Question- viewModel is defined in onCreate() of MainActivity.kt, and onCreate() of MainActivity runs several times. So will there be new viewModel instance assigned every time onCreate() is called? If not then why? Because onCreate() will execute the statement viewModel=ViewModelProvider..... every time onCreate() is called.

Ответить
Nayan Nitnaware
Nayan Nitnaware - 21.09.2021 15:23

The soundtrack in the end.. 😂

Ответить
Nitun singh
Nitun singh - 02.09.2021 18:02

Great explanation,I literally missed very interesting concepts but now m feeling comfortable.
Thanks Alot sir for such a beautiful content

Ответить
Chandra Shekhar
Chandra Shekhar - 18.08.2021 07:29

I'm a web dev.. trying to understand android concepts.. your videos helped me a lot... That you so much.. ☺️☺️👍👍👍👌

Ответить
Shafique Ahmed
Shafique Ahmed - 14.08.2021 18:08

WOW. Lovely. I'm reading a book on android and everything that seems confusing, I rush to your yt channel and almost everytime the concepts get cleared thru your videos! Love and Respect from Pakistan ❤️

Ответить
Prateek Sharma
Prateek Sharma - 28.07.2021 13:01

Found your channel very late i.e. today. Had missed many deep concepts. Thanks!

Ответить
Rushikesh Thak
Rushikesh Thak - 14.07.2021 12:09

Fantastic.... Nicely explained... Actually what's view model how it works....this concept is cleared.👍... Sir one request is can u make video on how to use view model with volley or retrofit.

Ответить
Naime Imran
Naime Imran - 08.07.2021 13:31

Thanks Sir

Ответить
Chetan Tailor
Chetan Tailor - 27.06.2021 17:24

You are the great tutor...

Ответить
Mahendra Kaperavenollu
Mahendra Kaperavenollu - 15.06.2021 20:22

Sir in my another project rotation se view bhi change ho rhe hai how to solve this issue pls reply!! is viewmodel solve this issue or i need to use different library pls reply sir bohot dino se search kr rha hua solve nahi ho rha??

Ответить
Muhammad Naveed
Muhammad Naveed - 30.05.2021 15:45

for every activity and fragment should i have new viewModel.

Ответить
Sanikumar Pal
Sanikumar Pal - 28.05.2021 12:20

Great Explanation sir

Ответить
Kishor Ramani
Kishor Ramani - 26.05.2021 04:42

In diagram, why onDestroy is called while screen rotate?

Ответить
Ari
Ari - 08.05.2021 17:21

Thank you so much man for making this great video. I appreciate your work.

Ответить
Arpit Kanda
Arpit Kanda - 03.05.2021 10:11

Rx java pr bhi video banye sir simple explaination k sath🙏

Ответить
Arpit Khandelwal
Arpit Khandelwal - 29.04.2021 20:25

Sir view model toh smj aa gya aache s but I think mvvm pattern hardly 3-4 years s use ho rha hai ,,,,


Usse phle yeh waali problem ni aati thi (orientation) wali

Muje jyda pta ni h is baare m Curious to learn 😂

Ответить
Rohit Jakhar
Rohit Jakhar - 18.04.2021 05:44

आज समझ आया view model का मतलब

Ответить
vishal Gopalrao
vishal Gopalrao - 13.04.2021 09:46

hi can you suggest Video, Music Copyrights check API, or SDK available for android? Thank you in advance

Ответить
smart developer
smart developer - 11.04.2021 14:22

Very nice tutorial :) waiting for next video

Ответить
Vipin Sikarwar
Vipin Sikarwar - 11.04.2021 12:48

Sir kitni videos aayengi iss playlist pr..

Ответить
Courtni Allison
Courtni Allison - 11.04.2021 11:40

extension make in mit

Ответить
Courtni Allison
Courtni Allison - 11.04.2021 11:39

kodular app make

Ответить
sanit bandekar
sanit bandekar - 11.04.2021 08:03

Bro aapki videos bahut help full hai plz aap jaldi upload kare mujhe MVVM sikna hai, I know it's take too much time to make,

Ответить
macros
macros - 10.04.2021 21:20

Amazing video

Ответить
Yash Kumar
Yash Kumar - 10.04.2021 17:36

Thank you sir for awesome tutorials

Ответить
Hardcode Android
Hardcode Android - 10.04.2021 16:36

Thanks sir

Ответить
SCRET BRO
SCRET BRO - 10.04.2021 16:32

Thank You.

Ответить
Sat Talk
Sat Talk - 10.04.2021 16:19

Great video as always..

Ответить
vivek #OnMyWay
vivek #OnMyWay - 10.04.2021 15:48

That's what I am writing for ❤️❤️❤️

Ответить