MutableLivedata is something in which you can change the value.. but liveData is Immutable means you cannot change it's value... basically we use MutableLivedata in viewmodel and change it's value in viewmodel itself and create another LiveData of that MutableLivedata in the viewmodel and set the observer in fragments or activity. So we cannot change the value.. this help to accomplish encapsulation... And the main activity or fragment will not be able to change tha value
Comment below "thanks" to help us making new videos everyday
best!
Welcome and thanks
Thank you so much❤
Welcome. Subscribe to get more tutorials everyday
I am open old project in android studio but gradle is not configured, I am also invalidate cache and restart
Please update gradle to latest version and then try to open project.
Watch our solving gradle errors video on our channel
Thanks
Welcome
thank you
Welcome
Subscribe to get more
sir, why you used parameterless constructor in both of class.
To create objects
thanks
Subscribe to join our family
What situations can we use MutableLiveData or LiveData? Great tutorial though
Thanks. This is architecture
MutableLivedata is something in which you can change the value.. but liveData is Immutable means you cannot change it's value... basically we use MutableLivedata in viewmodel and change it's value in viewmodel itself and create another LiveData of that MutableLivedata in the viewmodel and set the observer in fragments or activity. So we cannot change the value.. this help to accomplish encapsulation... And the main activity or fragment will not be able to change tha value
Thanks 😘😘
I want some help from you
Hello. Tell us what do you want?,
i hope you to make splash screen and internet connection view in mvvm
Splash screen tutorial already published. Check our youtube channel
@@MasterCodingTeam
I mean use MVVM to make splash screen ..
Yes ofcourse
thanks
Thanks for honest people like you 🤩😘