Тёмный
No video :(

#8 Android Login/Signup with MVVM - Jetpack DataStore 

Simplified Coding
Подписаться 118 тыс.
Просмотров 20 тыс.
50% 1

In this video we will create a class that will manage the Jetpack DataStore.
Recently android team released this new library called Jetpack DataStore for saving data locally. Jetpack DataStore is meant to replace our existing SharedPreferences.
In this video you will learn how you can use Android Jetpack Datastore to save the user Access Token, that we got in the last video after a successful login.
If you are having trouble navigating between lessons then check this link; all lessons are arranged in chronological order here.
👉bit.ly/3ukGu3G
To learn more about Jetpack DataStore
👉 www.simplified...
To check creating an Authentication RESTful API go to the following link
👉 • #1 Building Login API ...
If you want to deploy the RESTful APIs to your own shared hosting go to this link
👉 • Deploying Laravel Proj...
To get the source code of this Android Login/Signup with MVVM go to the following link.
👉 www.simplified...
If you want to use My API, then here are the details:
Auth URL: simplifiedcodi... or /signup
User URL: simplifiedcodi...
Here is a user that you can use for Login if you do not want to make the SignUp part on your own.
email: probelalkhan1@gmail.com
password: 12345678
If you love my content please SHARE my courses to your friends. You can share this course, to your Facebook, WhatsApp etc.
For more contents related to Software Development visit my website.
👉 www.simplified...
You can SUPPORT me if you want
👉 Patreon: / belalkhan
👉 UPI (India Only): probelalkhan@okaxis
👉 PayTM (India Only): +917549161079
👉 PayPal: www.paypal.me/...
You can also check some of my other courses from these links
👉 Android Game Development Tutorial: bit.ly/38JmltC
👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
👉 Android Room Tutorial: bit.ly/2PfQHeN
👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
👉 Android Notification Tutorial: bit.ly/2Sc6jQl
👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
Lastly if you want to connect with me, you can follow me on my social profiles
Facebook: / simplifiedco. .
Instagram: / probelalkhan
Twitter: / probelalkhan
❤️❤️ Thank You All for the Love and Support ❤️❤️
#JetpackDataStore
#SimplifiedCoding

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@SimplifiedCoding
@SimplifiedCoding 3 года назад
If you want to use My API, then here are the details: Auth URL: simplifiedcoding.tech/mywebapp/public/api/auth/login or /signup User URL: simplifiedcoding.tech/mywebapp/public/api/user Here is a user that you can use for Login if you do not want to make the SignUp part on your own. email: probelalkhan1@gmail.com password: 12345678 Thank You
@indiradasan1118
@indiradasan1118 2 года назад
api not working now
@Android-gc9nu
@Android-gc9nu 3 года назад
How to retrieve data from DataStore preference to using in OkHttp Interceptor with Dagger Hilt?
@thanhanle
@thanhanle 4 года назад
I like the way you present your content. It’s easy to understand and I can’t wait for your next released video.
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Thank You
@jayceeddeyro1406
@jayceeddeyro1406 3 года назад
can you please also make a tutorial for clean achitecture with MVVM?
@jagadhisshdeveloper1689
@jagadhisshdeveloper1689 4 года назад
Tq very much sir,waiting for next video sir
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Help me reach 1000 views in this one, and I will post next one. Thank You ♥️♥️
@jagadhisshdeveloper1689
@jagadhisshdeveloper1689 4 года назад
@@SimplifiedCoding absolutely i will try my level best sir
@rojaskent
@rojaskent 2 года назад
Hello, I am trying to implement DataStore, but when saving some data it is not saved because when trying to obtain it, it returns the default value.
@amitmondal7427
@amitmondal7427 4 года назад
Jetpack DataStore, delicious!!!
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Yeah
@alij3fer
@alij3fer 4 года назад
best coder ❤️❤️❤️
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Help me reach 1000 views of this video, then I will post next one. Thanks ♥️♥️
@SagarBandamwar
@SagarBandamwar Год назад
createDataStore() is not working for me
@ShakilAhmedShaj
@ShakilAhmedShaj 4 года назад
thanks a lot for using all the best practices, waiting for the next videos.
@SimplifiedCoding
@SimplifiedCoding 4 года назад
You are welcome ♥️
@javariahazoor8134
@javariahazoor8134 4 года назад
can you make video on layout supporting tablets and phone for listing and detail page i.e listing and detail fragments should be shown in single view but on mobile they are two different views
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Sure, I will try it, Thanks ♥️♥️
@lies137
@lies137 4 года назад
thank you so much sir! it would be great if you continue uploading the rest
@SimplifiedCoding
@SimplifiedCoding 4 года назад
I will try my best
@c99rahul
@c99rahul 3 года назад
Very helpful video. I was working on a Settings Activity lately, which uses SharedPreferences and Preference Manager. Any thoughts on using DataStore with Preference Manager? I mean, is it even possible?
@aniketkanitkar4041
@aniketkanitkar4041 4 года назад
Really helpful video and easy to understand
@muhammadyaumil1212
@muhammadyaumil1212 Год назад
why my token showing like this : "token is null" then after a few second "token is : token"
@malikdiary3126
@malikdiary3126 Год назад
i dont know what is the problem but whenever i tried to login toast appears and said login failure
@subramaniams5589
@subramaniams5589 4 года назад
hi bro.. excellent to see all these videos... one more, what is lite app? and give any idea how to create lite app.. I saw some lite app is only 700KB in play store. thanks bro..
@sanjarkarimov7377
@sanjarkarimov7377 4 года назад
best tutorial thank you my teacher
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Thanks
@ranaumar8208
@ranaumar8208 4 года назад
Sir please make video on Scope Storage and MediaStore
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Sure I will make.
@syandukominfo1424
@syandukominfo1424 3 года назад
I get this error on log cat, but program can run E/libc: Access denied finding property "ro.serialno" i dont know where its come from, but when I run your program nothing error. Any clue anyone ?
@javariahazoor8134
@javariahazoor8134 4 года назад
also can you please implement hilt way to implement dagger in this project?
@SimplifiedCoding
@SimplifiedCoding 4 года назад
I will try covering hilt here.
@yashbhardwaj6808
@yashbhardwaj6808 2 года назад
Hi Sir, Your video is awesome and very helpful. But API endpoint is not working, getting 405 error(Method not allowed). Basically Login method is POST type and I am calling the same but error is like that GET method is not allowed here
@samitxxx
@samitxxx 3 года назад
Thank you for this new MVVM series. Please use dagger2 for dependency injection in this series ..
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I have updated the project with Dependency Injection Check Here 👉 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QfnmLx68jcI.html
@sleepydev4700
@sleepydev4700 3 года назад
How can I use it in settings fragment? it's already using shared prefrefences, how I can migrate to this lib
@krishnamandava9919
@krishnamandava9919 4 года назад
What is the need and use of life cycle dependencies in this tutorial?
@SimplifiedCoding
@SimplifiedCoding 4 года назад
For asLiveData function to convert flow to livedata.
@krishnamandava9919
@krishnamandava9919 4 года назад
@@SimplifiedCoding Thanks. Is lifecycle-extensions deprecated
@SurajSingh-qc2wm
@SurajSingh-qc2wm 4 года назад
great videos
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Thanks Suraj ♥️
@technicalvenky8778
@technicalvenky8778 3 года назад
what you will use for dependency injection kodin,dagger2 or hilt ??
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I have updated the project with Dependency Injection Check Here 👉 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QfnmLx68jcI.html
@jayceeddeyro1406
@jayceeddeyro1406 3 года назад
Where is the actual location of the saved DataStore?
@yusufsafrudin7533
@yusufsafrudin7533 3 года назад
hi, i have question about datastore i have login activity that always shows before moving to another activity while using datastore to check for saved preferences, how to solved this? when i using shared preference that's never happen before thnks
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Create a splash fragment or activity inside this activity put the code to identify current state and then open login or user screen accordingly This way user will first see the splash screen (as you see in almost all apps). Then user will go to either login or home screen.
@yusufsafrudin7533
@yusufsafrudin7533 3 года назад
@@SimplifiedCoding have you other suggestion, because my app does'nt have splash activity or fragment
@dunghongoc1075
@dunghongoc1075 3 года назад
thank u very much
@santri.awon1
@santri.awon1 4 года назад
waiting for the next series #9
@sabihamahboob6761
@sabihamahboob6761 4 года назад
❤️❤️
@SimplifiedCoding
@SimplifiedCoding 4 года назад
♥️♥️
@mohammedwaqas2057
@mohammedwaqas2057 3 года назад
how can we use this for java
@balwinderrajput3204
@balwinderrajput3204 3 года назад
I think you should first explain the difference between sharedPref and DataStore. Advantages of dataStore compared to sharedPref. Consider comparing the same with encryptedSecurepref as well. Keep up the good work
@khansazilfashofiaghazali1713
Hi userPreferences.saveAuthToken(it.value.user.access_token) what does the .value refer to?
Далее
#9 Android Login/Signup with MVVM - User Login
15:16
Просмотров 11 тыс.
Proto DataStore - MAD Skills
11:35
Просмотров 25 тыс.
Should you use Ruby on Rails in 2024?
14:43
Просмотров 48 тыс.
Jetpack DataStore Explained (a Quick Guide)
10:02
Preferences DataStore - MAD Skills
8:12
Просмотров 47 тыс.