View Model | Live Data | Android Jetpack | Android Studio 3.1.2

  Рет қаралды 26,165

Mafia Codes

Mafia Codes

Күн бұрын

Пікірлер: 111
@nihal999in
@nihal999in 4 жыл бұрын
You are awesome man.. love you.. the way you explain awesome.. please bring more and more videos on Android things . Hats off 👍👍👍
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@nihal999in
@nihal999in 4 жыл бұрын
@@mohanavelk2724 yes yu can use coroutine and many others
@engincicek8882
@engincicek8882 4 жыл бұрын
@@mohanavelk2724 You can use Worker class
@M1A2_Abrams_MBT
@M1A2_Abrams_MBT 3 жыл бұрын
straight to the point and explained simply without nonsense. Great video.
@chiragesehar8487
@chiragesehar8487 2 жыл бұрын
The way of delivering is awesome, stay blessed brother.
@sushantabhowmik6439
@sushantabhowmik6439 4 жыл бұрын
Nice to watch your video....crystal clear concept...
@vinayTshetty
@vinayTshetty 2 жыл бұрын
Explained in a simple Manner loved it.
@belenignaciagonzalez3684
@belenignaciagonzalez3684 3 жыл бұрын
This is GOLD thanks for all!
@Androidify767
@Androidify767 4 жыл бұрын
this is by far the best LiveData / ViewModel tutorial I watched on KZbin! thanks a lot for your efforts :) would love to see more content from you :):)
@mafiacodes
@mafiacodes 4 жыл бұрын
Thank you 🙏🏻, subscribe like share...
@DesCodePro-programming
@DesCodePro-programming 3 жыл бұрын
Best Explanation so far
@dalitsozulu3390
@dalitsozulu3390 3 жыл бұрын
Your explanation is very clear and easy to follow. Thank you Very much!!!!
@sumanmainali8864
@sumanmainali8864 5 жыл бұрын
Your all video are so smooth and easy to follow
@mafiacodes
@mafiacodes 5 жыл бұрын
thanks bro, subscribe like share
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@vinodtechie6834
@vinodtechie6834 4 жыл бұрын
Clear and Stick to the topic. Brilliant
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@c-o-d-e2196
@c-o-d-e2196 6 жыл бұрын
Simple and to the point. Just what I needed. Thank. you!
@jonathan3087
@jonathan3087 2 жыл бұрын
So easy to understand, when taught by you. Thanks! 💯🔥
@dennisgonzales9521
@dennisgonzales9521 4 жыл бұрын
Finally someone explained view model and live data easily understand! Your's truly is an awesome channel ❣️
@mafiacodes
@mafiacodes 4 жыл бұрын
subscribe like share
@gibraanjafar1669
@gibraanjafar1669 3 жыл бұрын
Great content once again. Thanks for this wonderful, short and crisp video.
@vikramsinghnegi1559
@vikramsinghnegi1559 5 жыл бұрын
Awesome video. You nailed it very well
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share ☺️
@emmanuelpregnolato5026
@emmanuelpregnolato5026 5 жыл бұрын
Simple and easy to grasp the concepts. Tx buddy!
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share 😊
@agusrabini7886
@agusrabini7886 3 жыл бұрын
really good video. Congrats. Cheers from Argentina
@nidhinjames8197
@nidhinjames8197 5 жыл бұрын
Nice video, it helped me a lot to understand the concept of Livedata. Please do a video of how to use LiveData and Retrofit together.
@mohancena8970
@mohancena8970 3 жыл бұрын
I Appreciate your work brother keep rock 👏🙂
@vinothkumar-hh4dv
@vinothkumar-hh4dv 5 жыл бұрын
Very clear to understand, If you can compare the volley and retrofit library usage will be more useful
@mafiacodes
@mafiacodes 5 жыл бұрын
SUBSCRIBE LIKE SHARE 😊 Actually thr is almost no comparison, always prefer to use retrofit, its better in all the cases.
@moeenchanna9296
@moeenchanna9296 4 жыл бұрын
Work like a charm.
@engincicek8882
@engincicek8882 4 жыл бұрын
this is golden thank you so much
@stevensonicteam
@stevensonicteam 3 жыл бұрын
Thank you so much for your explanation.
@carlosaavedra9862
@carlosaavedra9862 5 жыл бұрын
Incredible video, thanks man
@mafiacodes
@mafiacodes 5 жыл бұрын
Thanks 😊
@jeduardofarias7448
@jeduardofarias7448 4 жыл бұрын
thank you so much, your video helped me a lot !!!
@mafiacodes
@mafiacodes 4 жыл бұрын
Glad it helped!
@keshavjha9835
@keshavjha9835 4 жыл бұрын
bro you deserve more subs
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks
@amenmoipushi8821
@amenmoipushi8821 4 жыл бұрын
Simple and straight forward ❤️❤️ does using a view model make Your app quicker as the calculations and everything else is done in the view model class?
@mafiacodes
@mafiacodes 4 жыл бұрын
Makes app more safe, no memory leaks, better organized
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@omleen3187
@omleen3187 5 жыл бұрын
Wow! Really like your straight-to-point explanation! Please keep it in Java. Not Kotlin cuz I hate Kotlin 😊
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share 😊
@junigates
@junigates 4 жыл бұрын
very very helpful bro thanks a lot
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@mukeshramharshyadav3255
@mukeshramharshyadav3255 4 жыл бұрын
Super job
@ahmada1629
@ahmada1629 6 жыл бұрын
God bless you my friend
@barenmandal127
@barenmandal127 6 жыл бұрын
thank u, your video really helpful. please make videos on rest of the Android Jetpack Components
@vadakkanchottanikara
@vadakkanchottanikara 3 жыл бұрын
Great... bro I want view model more topic.
@mafiacodes
@mafiacodes 3 жыл бұрын
kzbin.info/aero/PLdHg5T0SNpN3-dPWdHlgu9lU3JnksBoHc
@vadakkanchottanikara
@vadakkanchottanikara 3 жыл бұрын
@@mafiacodes tks
@adnanhaider9949
@adnanhaider9949 4 жыл бұрын
your way of teaching is best and simple. can you make fragment with toolbar and tab layout and navigation drawer plz i need help. kindly give me list which topic i learn about all these concept to clear it. #admin
@mafiacodes
@mafiacodes 4 жыл бұрын
I’ll try
@rdyrodney
@rdyrodney 3 жыл бұрын
Muito bom 🇧🇷🇧🇷
@mafiacodes
@mafiacodes 3 жыл бұрын
Thank you
@weikesandy556
@weikesandy556 2 жыл бұрын
so what is the difference between viewmodel and livedata in that app?
@codetheandroid
@codetheandroid 3 жыл бұрын
can we use long running background process like data fetching from api in this?/
@mafiacodes
@mafiacodes 3 жыл бұрын
yes
@ahmadfaraz3678
@ahmadfaraz3678 6 жыл бұрын
Font size is small. Try to increase it. Not properly visible on phone.
@4jilson
@4jilson 6 жыл бұрын
Your Tutorial is good, Subscribed to this channel.
@codetheandroid
@codetheandroid 3 жыл бұрын
is viewmodel live data run on background thread ... i want to use it for background processs
@techbrainz
@techbrainz 5 жыл бұрын
in fragment live data is first time only getting fired 2 nd time onwards not getting fierd i am using room db with that live data
@mafiacodes
@mafiacodes 5 жыл бұрын
Share code on github for me to check. Subscribe like share ☺️
@timepass3821
@timepass3821 3 жыл бұрын
Great 👍
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
I've learned async loader but it is deprecated for that can I use Viewmodel and Live data?
@mafiacodes
@mafiacodes 4 жыл бұрын
yes u can
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
@@mafiacodes Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader or asynctask?
@rajuyadav1221
@rajuyadav1221 6 жыл бұрын
Please continue with MVVM architecture
@mafiacodes
@mafiacodes 6 жыл бұрын
tell me which component you need, i will make a video for that 😉
@rajuyadav1221
@rajuyadav1221 6 жыл бұрын
@@mafiacodes Use of Retrofit with Rxjava in Mvvm. how to get response etc.
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@techbrainz
@techbrainz 4 жыл бұрын
Sir i have doubt how to use viewbinding with MVVM concept small example sir please
@mafiacodes
@mafiacodes 4 жыл бұрын
View binding is nothing it’s just a replace of findviewbyid, it has nothing to do with mvvm, just use the generated classes in the typical way. Watch this RecyclerView with ViewBinding kzbin.info/www/bejne/ZmXPZKl3h5l8eKc If you don’t know viewbinding then watch this View Binding kzbin.info/www/bejne/b3jEYp-QYr2haJY
@techbrainz
@techbrainz 4 жыл бұрын
@@mafiacodes sir i had simple webview in activity for that activity i had one ViewModel class but if i rotate screen data is reloading again
@mafiacodes
@mafiacodes 4 жыл бұрын
Share code on GitHub
@techbrainz
@techbrainz 4 жыл бұрын
@@mafiacodes github.com/vamsireddytalla/MorningNewsPaper This is the code sir i had viewmodel with webview when i rotate screen orientation webview is again reloading please help me sir i want where the page is shown on last
@techbrainz
@techbrainz 4 жыл бұрын
@@mafiacodes sir waiting for ur reply i given git hub url
@nikhilguptha1482
@nikhilguptha1482 4 жыл бұрын
Can u make a video using api with data binding concept
@mafiacodes
@mafiacodes 4 жыл бұрын
Wait for the upcoming series on mvvm, that exact concept is used there
@elyu_vibes
@elyu_vibes 4 жыл бұрын
Isn't ViewModelProviders deprecated now?
@mafiacodes
@mafiacodes 4 жыл бұрын
Yes, u shud use new ViewModelProvider()
@mohanavelk2724
@mohanavelk2724 4 жыл бұрын
Now asynctask and loader is deprecated, is there any method to handle background like asynctask ? Viewmodel and livedata is for loader what about async task ?
@TheAbhidugar
@TheAbhidugar 3 жыл бұрын
hello, thanks for your videos. I am learning android for past three months now. I am getting very frustrated because all I am doing is copying and pasting. If someone asks me to create things on my own, I cannot. Please guide me what I am doing wrong, what should I do ? It is taking me so much time and I really need a job now. I understand the things which come in the way (by reading articles or watching YT videos) but could not write anything new on my own. Started learning from Udacity free courses. I still cannot code myself when new classes (APIs or android frameworks) are to be used. I hope I am able to tell my situation properly. Please help me.
@mafiacodes
@mafiacodes 3 жыл бұрын
The best resource is android documentation, you can learn many things about android using that. You can watch my android playlist as well. As for new thing on your own, you need to first chalk out that what you wanna do, and then piece by piece learn about that stuff and code it. Its not like that you need to learn the FULL android framework to make an app.
@ritunjaykumar5428
@ritunjaykumar5428 4 жыл бұрын
Sir, please made videos on android animation.
@mafiacodes
@mafiacodes 4 жыл бұрын
I already have...watch these: kzbin.info/www/bejne/fZmWfKaEfL-gl6c kzbin.info/www/bejne/nISnY6qXbZaYrKM kzbin.info/www/bejne/jHmQYmpvqdl1pq8
@ritunjaykumar5428
@ritunjaykumar5428 4 жыл бұрын
@@mafiacodes thank you sir for replying. Is it full video of animation??
@mafiacodes
@mafiacodes 4 жыл бұрын
Yes
@muhannddh
@muhannddh 5 жыл бұрын
Can I use viewmodel to pass data from dialogfragment to Fragments and Activities
@mafiacodes
@mafiacodes 5 жыл бұрын
Yes you can.
@adiyogi-thefirstguru5144
@adiyogi-thefirstguru5144 6 жыл бұрын
Thanks bro
@sumanmainali8864
@sumanmainali8864 5 жыл бұрын
Sir so view model and Live data does the same thing.so which one is best
@mafiacodes
@mafiacodes 5 жыл бұрын
They are not the same thing, you watch the video again dont skip and see the difference, Subscribe like share
@weikesandy556
@weikesandy556 2 жыл бұрын
@@mafiacodes they do the same thing. just add score and not lose that number while landscape
@abdremo
@abdremo 5 жыл бұрын
Thank you bro Please I’ve a question
@mafiacodes
@mafiacodes 5 жыл бұрын
And wats that
@sanjaytanti3085
@sanjaytanti3085 3 жыл бұрын
Thanks
@Arunkumar-xf1hd
@Arunkumar-xf1hd 3 жыл бұрын
watching this at 12:30am
@ankims
@ankims 5 жыл бұрын
Nice
@jitendrachouhan7024
@jitendrachouhan7024 4 жыл бұрын
Make stories application
Text Appearance | Android Studio 3.1.2
6:13
Mafia Codes
Рет қаралды 2,8 М.
Navigation Component | Android Jetpack | Android
17:26
Mafia Codes
Рет қаралды 50 М.
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
This open problem taught me what topology is
27:26
3Blue1Brown
Рет қаралды 714 М.
The ViewModel & LiveData Tutorial in Android Studio (Kotlin)
8:56
LiveData Explained - Android Architecture Component | Tutorial
12:12
Android Data Binding: Getting Started
46:04
CodingWithMitch
Рет қаралды 98 М.
Model View View-Model (MVVM): Getting Started
29:12
CodingWithMitch
Рет қаралды 399 М.
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН