Live Data with Demo: Android Architecture LiveData Tutorial (Jetpack) #3.3

  Рет қаралды 72,363

Smartherd

Smartherd

Күн бұрын

Пікірлер: 91
@carloszetula2307
@carloszetula2307 6 жыл бұрын
Thanks to your video? I have one question, I don’t need to remove the observer in onDestroy?
@smartherd
@smartherd 6 жыл бұрын
No need to do it yourself. It is done automatically. Beauty of architecture components
@carloszetula2307
@carloszetula2307 6 жыл бұрын
Smartherd a lot of thanks for this explanation
@varunjohnjohn
@varunjohnjohn 5 жыл бұрын
Yes no need.. livedata is a lifec cyle aware component.. it'll manage internally..
@jaycemarcelo2634
@jaycemarcelo2634 3 жыл бұрын
i guess I am pretty off topic but do anyone know of a good place to stream new movies online ?
@TechMalaya
@TechMalaya 5 жыл бұрын
I am thankful for this video because a lot of tutorials just talk much about theory and when coding they didn't explain everything. very simple for beginner like me to know about mvvm.
@kpranjith
@kpranjith 3 жыл бұрын
OMG what a clear explanation! today I spent a whole day watching different topics on your channel ! learnt a lot!! what a productive day!! I owe you guys
@jayeshsuthar5590
@jayeshsuthar5590 4 жыл бұрын
Heyy, well informed and clear concise information! Thank you so much and your voice is also appealing to the ears thanks for the explanation
@ZeeshanAli-qx1jt
@ZeeshanAli-qx1jt 4 жыл бұрын
Thanks.... It was very help full for me. A big Love From All Pakistan....❤❤❤❤❤❤❤❤❤
@shankarsiddhartha8363
@shankarsiddhartha8363 5 жыл бұрын
Thanks Nice explanation. I read many sites but not clearing 100% after watching ur video I understood 100% ViewModel & LiveData.
@dhananjaypathak6143
@dhananjaypathak6143 4 жыл бұрын
i dont know how to thank you ma'am i was so confused , what is livedata viewModel and finally i can say yes i get it maam thank you alot☺☺
@kahanbhalani3607
@kahanbhalani3607 5 жыл бұрын
The simplest explaination ever! Thank you very much...
@ankitasaini2321
@ankitasaini2321 3 жыл бұрын
Thanks for the video, can you please also tell, how we will refresh the data?
@nikhilkeshari9176
@nikhilkeshari9176 4 жыл бұрын
Difference between postvalue() and setvalue() in LiveData
@MrunaliniKSahasra
@MrunaliniKSahasra 2 жыл бұрын
How to send the data back to ui12:23;4:05;6:00;4:25
@JujareVinayak
@JujareVinayak 4 жыл бұрын
At 9:52 why logs printed again by changing orientation
@muhammadarsalan9684
@muhammadarsalan9684 4 жыл бұрын
Heyy, your tutorials are very good and like it so much. But i have a question that how saved the state of previous fragment when move from that to other fragment.
@gautamsharma9823
@gautamsharma9823 3 жыл бұрын
this is what i was looking for, perfect sweet and simple.kudos
@leandrotaipe1832
@leandrotaipe1832 4 жыл бұрын
How would i use livedata to show data on for example a bar graph
@hichamkaid1654
@hichamkaid1654 2 жыл бұрын
what an amazing explanation. could you please explain MVC, MVP, MVVM architecture
@elyu_vibes
@elyu_vibes 4 жыл бұрын
I have another activity (FormActivity) and on its button submit I update the livedata "counter" value. I can verify it from the logs. But after exiting the FormActivity to go back to MainActivity where the onChanged (observer) is located, the value is not updated.
@ashishgupta8394
@ashishgupta8394 4 жыл бұрын
You don't need to return mutablelivedata from getter in viewmodel
@guelmamibari5248
@guelmamibari5248 Жыл бұрын
Best Jetpack Tutorial, Thank u very much.
@MrAksp
@MrAksp 5 жыл бұрын
Very nicely explained. Please post videos of other components as well. Data Binding, Work Manager, Navigation, Paging etc. Thanks a lot
@nfaical3
@nfaical3 3 жыл бұрын
Best explanation , thanks 👍
@SilverYagi
@SilverYagi 5 жыл бұрын
Thank you. Your take on LiveData has been of great help to me.
@adminportal9653
@adminportal9653 4 жыл бұрын
Just came here to hear your voice... Love it .
@MinhTran-xn3kk
@MinhTran-xn3kk 5 жыл бұрын
your git source code is not have livedata/observer ...
@RajSharma-lt3fw
@RajSharma-lt3fw 6 жыл бұрын
Very well explained. Can you make some tutorials for Dagger 2 ? There are not much tutorials available out there .
@avinashpatil9662
@avinashpatil9662 3 жыл бұрын
Your teaching is amazing..thank you
@novovaleapps9993
@novovaleapps9993 4 жыл бұрын
Amazing video! Simple, objective and clean explanations!
@user-ds6qh2um6v
@user-ds6qh2um6v 5 жыл бұрын
Best playlist on JetPack
@harshbarnwal1879
@harshbarnwal1879 4 жыл бұрын
awesome video❤️🔥
@clauubasca
@clauubasca 5 жыл бұрын
Probably my question sounds stupid. But when should I use Livedata? Can I use it just for simple variables?
@aekashiraki2570
@aekashiraki2570 2 жыл бұрын
Thanks for lesson, easy to understand
@monawat_ABDO
@monawat_ABDO 3 жыл бұрын
Really really the best, excellent and clear explanation. Thank you Number one :)
@samarth2937
@samarth2937 6 жыл бұрын
thanks for uploading tutorials... plz continue ur work on advanced and new technologies in Android...
@smartherd
@smartherd 6 жыл бұрын
Sure like our videos
@vikki4946
@vikki4946 3 жыл бұрын
Very well explained... Thank you so much
@sorasama
@sorasama 4 жыл бұрын
big thanks it was hard concept for me to understand
@bloodops3893
@bloodops3893 5 жыл бұрын
I am a big fan, of yours tutorials.
@nesrmax8889
@nesrmax8889 6 жыл бұрын
i understand very well but i try to do favoirte function in movie app and i need to use live data but there is things much bigger .. please can u help me by explain how to do favorite with livedata
@preetgandhi1233
@preetgandhi1233 4 жыл бұрын
Hey, I was wondering as per LiveData concept, if there is a change in an API Data then automatically all the ones who are observing the Livedata will be notified, so if there is a change in data from server-side would it automatically fetch the Data or we need to fetch the data and then as LiveData would change UI would change?
@jayeshsuthar5590
@jayeshsuthar5590 4 жыл бұрын
No buddy, how it'll fetch the data changed by the server itself. No it won't but for doing so you need to make your server do an extra job to send the data to the automatically somehow. I don't know how you'd do this though
@vaibhavdangayachvd
@vaibhavdangayachvd 5 жыл бұрын
I love you 3000 You cleared all my doubts
@ikhiloyaimokhai9974
@ikhiloyaimokhai9974 6 жыл бұрын
nice tutorial, succinct and straight to the point!
@sangeetachintapalli6137
@sangeetachintapalli6137 2 жыл бұрын
clear explanation, thanks for video
@azamat0180
@azamat0180 5 жыл бұрын
why you used method setValue? I guess you supposed to use postValue since you were in background thread
@mehranali2689
@mehranali2689 3 жыл бұрын
Easy Explanation and learn more Carry Up Thank you.
@smartherd
@smartherd 3 жыл бұрын
You are most welcome
@SinnuC
@SinnuC 5 жыл бұрын
Thank you for this precise and straight to the point complete tutorial.
@khalillaaboudi6996
@khalillaaboudi6996 6 жыл бұрын
nice tutorial ;but how we can observe the data when the activity is in stopped state !!
@supasonhomchan2497
@supasonhomchan2497 5 жыл бұрын
Really Good. Big fan, but I have a little problem. When first we declare myRandomNumber = model.getNumber(); (this make myRandomNumber equal to "1" for example). And then we declare observer to myRandomNumber. The question is Why it goes to onChange() function although myRandomNumber did not have any changed yet. (I think myRandomNumber already = "1" before declaring observer)
@ammarmiyaji6726
@ammarmiyaji6726 4 жыл бұрын
that's really amazing ...thanks alot
@Shikschauhan
@Shikschauhan 6 жыл бұрын
well explained.. i suggest start a project which includes database and use the architecture components so that we can understand where and how to use these arch components. Thank you so much
@smartherd
@smartherd 6 жыл бұрын
thanks alot for appreciation. Means alot to me
@Shikschauhan
@Shikschauhan 6 жыл бұрын
Ur welcome, i'm waiting for the upcoming tutorials you are going to upload
@Shikschauhan
@Shikschauhan 6 жыл бұрын
Smartherd please upload next lecture on navigation component.if possible.. ty
@harshvardhangautam5385
@harshvardhangautam5385 4 жыл бұрын
Really very helpful lecture Thanks a lot
@karandeepsingh1898
@karandeepsingh1898 3 жыл бұрын
AWESOME EXPERIENCE
@ahmadfaraz3678
@ahmadfaraz3678 6 жыл бұрын
Nice tutorial. But you did not tell what is difference between setValue and postValue.
@smartherd
@smartherd 6 жыл бұрын
oh.. i might have missed it.. will write an article on it
@miansarimhameed6248
@miansarimhameed6248 6 жыл бұрын
Its Simple, setValue() set a value from main thread postValue() set a value from background thread
@pramib3143
@pramib3143 3 жыл бұрын
Nice explanation
@abhaytiwari1615
@abhaytiwari1615 5 жыл бұрын
Wow! Thanks for the explanation!
@vengateshm2122
@vengateshm2122 6 жыл бұрын
Thanks for the video.Clear and upto the topic.Waiting for Room tutorial.
@smartherd
@smartherd 6 жыл бұрын
coming soon
@Okay0007
@Okay0007 4 жыл бұрын
make a video on difference between Mutable Live Data and Mediator Live Data
@asifmehmoodvlogs4u
@asifmehmoodvlogs4u 3 жыл бұрын
Thank you so much!
@sachinkumarrajput5450
@sachinkumarrajput5450 4 жыл бұрын
Please create databinding tutorials also
@abhijitchakra1153
@abhijitchakra1153 4 жыл бұрын
Well explained
@ayushvatsal2839
@ayushvatsal2839 3 жыл бұрын
Awesome Thanks :)
@fabrizziocht
@fabrizziocht 6 жыл бұрын
Great job, thanks for your video!!!
@smartherd
@smartherd 6 жыл бұрын
Welcome
@sachinpissay
@sachinpissay 3 жыл бұрын
Im learning now for 2022
@Anton...M
@Anton...M 5 жыл бұрын
Reeeealy good explainantion.
@yaqubnaqiyev131
@yaqubnaqiyev131 5 жыл бұрын
best explanation
@botirkarim9293
@botirkarim9293 5 жыл бұрын
Manjai Dovdir (explain clearly)
@dreamworldpresents3066
@dreamworldpresents3066 5 жыл бұрын
Perfect example
@rishabhsofttesting2074
@rishabhsofttesting2074 5 жыл бұрын
Unavailable Video "Next Video: kzbin.info/www/bejne/hZmmeWpreruNnbc "
@RonnyBubke
@RonnyBubke 5 жыл бұрын
Oh my god. The view takes control over the actions. Nightmare for testing.
@prakashshukla3558
@prakashshukla3558 5 жыл бұрын
Not so easy to understand..
@EddyCaffrey
@EddyCaffrey 6 жыл бұрын
Thanks 👍
@smartherd
@smartherd 6 жыл бұрын
Welcome
@rajivkumargupta8467
@rajivkumargupta8467 6 жыл бұрын
Awesome
@smartherd
@smartherd 6 жыл бұрын
thanks
@venkatram3936
@venkatram3936 3 жыл бұрын
I'm getting sleepy to your voice 😴
@subodhrai1988
@subodhrai1988 4 жыл бұрын
Awesome
Model View View-Model (MVVM): Getting Started
29:12
CodingWithMitch
Рет қаралды 399 М.
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
The ViewModel & LiveData Tutorial in Android Studio (Kotlin)
8:56
MVVM and LiveData on Android
10:41
CodingWithMitch
Рет қаралды 36 М.
Shared ViewModel - Explained | Android Studio Tutorial
11:40
Stevdza-San
Рет қаралды 45 М.
Fun with LiveData (Android Dev Summit '18)
19:20
Android Developers
Рет қаралды 104 М.
Android Jetpack: LiveData
5:30
Android Developers
Рет қаралды 103 М.
View Model | Live Data | Android Jetpack | Android Studio 3.1.2
17:25
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 138 М.
Clean Architecture in Android in 5 minutes
5:17
Renaro Santos
Рет қаралды 22 М.
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН