Android ViewModel Tutorial : Jetpack Tutorials: View Model Demo: Android Architecture #3.2

preview_player
Показать описание

After getting introduced to View Model in the previous video, let's see the demo of ViewModel in this video and how it works. View Model is yet another Architecture components of Android Jetpack.

.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

One of the best tutorials I've ever seen

dariadobszai
Автор

i have seen many androidViewModel example but didn't understand that easily, but this tutorial clear my all doubts thanks smartherd

rockybalboa
Автор

Amazing tutorials OMG. Where have you been all this time...

mosesindecks
Автор

Excellent explanation. After watching the theoretical demo of viewmodel I watched this. And it's perfectly understood. Thank you

akhilareddygunapati
Автор

Great tutorial, simple to understanding.

bloodops
Автор

Great tutorial. It really shows that you understand, and share with us the fundamental concepts.
Btw, at 7:25, you can open class file, select the classname and Shift+F6 (Or right click -> Refactor -> Rename) to change the name everywhere, including renaming the file itself. Just thought I'd share. Cool if you already know this.

TechAddictClub
Автор

Official Google tutorial makes this topic very convoluted. This tutorial shows how extremely easy ViewModel is.

pietroroberto
Автор

Excellent and clear explanation. Thank you

monawat_ABDO
Автор

well explanation.. and interesting topic also

iftakherhasan
Автор

Really brilliant example and explanation.. Thanks

Shikschauhan
Автор

Sriyank...make thinks more understandable

ManishThakur-mxgi
Автор

thank you sis, nice videos, thanks again

sechidambaram
Автор

Can I see this as an implementation of the MVVM architecture??

sukritkapil
Автор

can i store all the data i have fetched from server using viewmodel? i mean when i move to the next activity/fragment. and i want the fetched data to be there if i press the back button or if i return to that activity?

nickyn
Автор

Nice video, please create video on repository pattern with dagger 2

MudassirZulfiqar
Автор

There's strangely something really attractive in annapurna's voice that make me watch every video.

shreyash
Автор

Thanks very much. Consider doing the same in the Kotlin language.

lyawileh.a
Автор

consider making android kotlin tutorials, it is really fun to learn with your videos

erickramones
Автор

awesome tutorial
but i have a doubt
i just copy your code as you shown in the tutorial
and i removed if condition from MainActivityViewModel Class or MainActivityDataGenerator Class
now random number changing again and again when i rotate the screen
WHY ?


remove code

if(myRandomNumber == null) {
}

vikramsinghnegi
Автор

Same way I was using ArrayList but it does not work

selvaganapathi