Тёмный

#12 Android Login/Signup with MVVM - User Logout 

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

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

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 120   
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Do you want to use Dependency Injection in the same project❓ Check it out here 👉 👉 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QfnmLx68jcI.html Thank You ❤️❤️
@stephaneadjakotan750
@stephaneadjakotan750 3 года назад
Hello Simplified Coding, I'm Stéphane from Benin. This course has been particularly beneficial to me and I had to thank you for it.
@Arunkumar-xf1hd
@Arunkumar-xf1hd 2 года назад
by watching others and yours video i learnt a lot and now i am placed in company as a android developer . Thank you so much
@samitxxx
@samitxxx 3 года назад
Thank you very much...Awaiting for new kotlin series of Rx.
@ashrf8050
@ashrf8050 4 года назад
More courses about restful api please, big love ♥️
@okelloEnos
@okelloEnos 2 года назад
Thank Belal... You have been a life saver with this Course
@ajaymistry4536
@ajaymistry4536 3 года назад
belal bhai .. i learn from your blog and today i found you on you tube i fell great .. make one more demo that include Kotlin, MVVM, Databinding and Realm database ,, thanks
@vinaykumarnagarjuna2452
@vinaykumarnagarjuna2452 Год назад
Hello Belal, Hope you are doing good, could you release one more video by applying use cases and clear architecture for this series.
@parbinduu
@parbinduu 3 года назад
Hey Bilal - I was expecting unit test in this course! could you please make one video having MVVM Unit testing using Mockito and Kluent! - I m not getting any source on this topic. ViewModel testing, coroutine testing Live data testing Repository testing, etc. Please I m waiting for this tutorials :) Thanks in advance!
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I will post a separate testing series.
@vadakkanchottanikara
@vadakkanchottanikara 3 года назад
Hello bro... u are the perfect teacher Ur video make me study androids. So... I want to know about mvc and mvp ur class. Pls sent that link
@dhanu098765
@dhanu098765 3 года назад
Hello, Thanks Belal for the great tutorial series. Would you be able to another series or a continued tutorial with ROOM?
@baadrqaaba9529
@baadrqaaba9529 3 года назад
i have learned a lot thank you for sharing the knowledge
@ardiansah2841
@ardiansah2841 4 года назад
Thank you so much for this awesome tutorial MVVM
@harshaljain2062
@harshaljain2062 3 года назад
This was a great tutorial Belal. Great help
@jiedy-anncanon9778
@jiedy-anncanon9778 3 года назад
Thank you for your explanation! Really enjoyed this playlist
@hussainmuafaq6787
@hussainmuafaq6787 3 года назад
thank you for the great tutorial series. Please add Dependency injection in this project
@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
@TheCakapo
@TheCakapo 3 года назад
thank you so much for this awesome lesson !!! super teacher ^^!
@hemanthcse1
@hemanthcse1 3 года назад
Hi, thanks for the detailed explanation
@mohammadnasrullah6681
@mohammadnasrullah6681 4 года назад
and thanku very much for this awesome course😍
@bekaryssailaukul1006
@bekaryssailaukul1006 3 года назад
Great tutorials. Thank you!
@srjlove2102
@srjlove2102 4 года назад
Thank's for this awsome course, What next....... ?
@adityaaguswisanto7137
@adityaaguswisanto7137 4 года назад
thankyou belal, finally MVVM tutorial
@abdulazisalasari8579
@abdulazisalasari8579 4 года назад
I have used retrofit, but when I build it, the apk size is quite large. When I activate Minify, the application size is reduced by half, but part of okhttp, dn retrofit is also gone, so is there any solution to keep the app size not too big and, is that significant retrofit to the app size ..?
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I am organizing a live session, you can join if you have any doubts: Check details here: ru-vid.comUgxxrOXUP8ssXsB6Lex4AaABCQ
@pheroqt1238
@pheroqt1238 3 года назад
Hey Bilal, how would you make a safecall function for Room Database calls? I mean database version of saveApiCall function? Thank you.
@hari.octavvv
@hari.octavvv 2 года назад
Hello sir, thankyou for tutorial. But i have question, if i have image in users table. How i retrive this?
@AliGurkan
@AliGurkan 3 года назад
Thank you for this course series. is it possible to explain the logic of activating emails and password reset .
@codingcosmos7010
@codingcosmos7010 3 года назад
Hi Bilal sir... i want to add signup functionality so could you please tell me the SignUp End point & Exact Fields name & what will i get in Response (does response is same as LoginResponse ?)
@xD-saleem
@xD-saleem 3 года назад
Hope you are doing well man
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Yeah 🙂
@rameshkavibaskar5991
@rameshkavibaskar5991 4 года назад
Token is expire where will call and get Refresh token again call same api call
@geragera5342
@geragera5342 2 года назад
Thanks
@jagadhisshdeveloper1689
@jagadhisshdeveloper1689 4 года назад
🎈🎉🎉🎉🎉🎉super super sir..tq very much sir
@mohammadnasrullah6681
@mohammadnasrullah6681 4 года назад
Bhai Now you may start a course on android layout design animations and gestures handling etc.
@MrNanoWise
@MrNanoWise 3 года назад
Hello, many thanks for the course. Could you show how to use MediatorLiveData for two separate LiveData?
@vinodpal2699
@vinodpal2699 Год назад
Sir how to create BaseActivity like BaseFragment in this project when i am using the activity. plz help me sir
@muhammadarsalan6087
@muhammadarsalan6087 2 года назад
hello Bilal, can you make a tutorial that using Remember Me checkbox in Login Fragment??
@mojeebhasan5283
@mojeebhasan5283 3 года назад
I have a doubt regarding AuthViewModel and BaseViewModel. You are passing Authropository to the constructor of BaseViewModel right and you use AuthRepository for authenticating against credentials like username and password. Here I don't understand why do you pass AuthRepository to BaseViewModel because AuthRepository has nothing to do in BaseViewModel. It doesn't affect the execution of code but passing AuthRepository in BaseViewModel is useless because in BaseViewModel you have no function to hit the login api. Pls correct me If I am wrong.
@gulafsha3034
@gulafsha3034 3 года назад
sir plzz make a video for true caller sdk implementation
@chirantanchaudhury2809
@chirantanchaudhury2809 3 года назад
Please make a video on scoped storage (android 11)
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Sure I will.
@asifiqbal1261
@asifiqbal1261 4 года назад
Boss.! Can you make a tutorial about, How to use breadcrumbs in android? I have been searching for a while now but no one made any video about this. Appreciate your work, Thank you.
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Why do you want to make it in android. Its for web not mobile apps.
@asifiqbal1261
@asifiqbal1261 4 года назад
​@@SimplifiedCoding I have an application that has so many nested fragment transaction, that's why I'm looking for it Like A to b to c to d
@SimplifiedCoding
@SimplifiedCoding 4 года назад
@@asifiqbal1261 You can create it easily just think; search about deeplinks
@arbazqureshi2457
@arbazqureshi2457 3 года назад
Hey bilal...i am new in android development...I want to create an app which can only be uninstalled by using a password(May be an otp)...please suggest me a solution.
@excelmaster8017
@excelmaster8017 2 года назад
how I can access 1st video? please give me playlist link
@SimplifiedCoding
@SimplifiedCoding 2 года назад
Android Login/Signup with MVVM ru-vid.com/group/PLk7v1Z2rk4hgmIvyw8rvpiEQxIAbJvDAF
@neerajahlawat7393
@neerajahlawat7393 2 года назад
Sir please make more apps like social media app or chatting app using MVVM Kotlin
@MatteoAtzeni
@MatteoAtzeni 2 года назад
Hello Belal, how can I remove the token refresh functionality from the Token Authenticator?
@danielmigwi1999
@danielmigwi1999 3 года назад
i have tried to use the other method but am unable to inject abstract classes
@nileshbb
@nileshbb 3 года назад
Hey Bilal, Please add Dependency injection in this project.! and what if i want to call two different api calls on same fragment :) thanks you in advance.
@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
@sukdebmidya7951
@sukdebmidya7951 2 года назад
Sir please Create a Playlist for Kotlin flows. Thank You
@yokeshkp
@yokeshkp 3 года назад
Hi bro, is firebase push notifications and crashlytics free or will they charge after certain limit?
@nithinjoseph6097
@nithinjoseph6097 3 года назад
Bro make a video on motion layout
@digitaleducationcenter3973
@digitaleducationcenter3973 3 года назад
sir add one more vedio then show recycler view and click to exped the data
@javad0470
@javad0470 3 года назад
how we can write a powerful search with retrofit in app ?
@ankitamoundekar2221
@ankitamoundekar2221 3 года назад
Hey please tell me is there any changes in user and password coz it's saying invalid user and password
@muradadygezalov2720
@muradadygezalov2720 4 года назад
Hello, Belal Khan! Thanks a lot! That was a great tutorial for mvvm and data binding in modern style which cover almost all the things I had a questions, except DI, but I see your another course for MVVM which I believe covers the topic)) However one moment is still I would like to understand, could you describe how you will handle an auto login case? I mean if we need to check the token is expired and if it is automatically re-login. I believe we need to keep and save user password in some safe mode and check if the token expired than to take that password, make new login and update token. But how it would be implement correctly from your point of view? It wood be great to have a new video which covers the case! Thanks again!
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I am organizing a live session, you can join if you have any doubts: Check details here: ru-vid.comUgxxrOXUP8ssXsB6Lex4AaABCQ
@AmitSharmaplus
@AmitSharmaplus 4 года назад
Awsome .. I have a question Q) how can I delete user data base on logout?
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I am organizing a live session, you can join if you have any doubts: Check details here: ru-vid.comUgxxrOXUP8ssXsB6Lex4AaABCQ
@srikanthgutti5056
@srikanthgutti5056 3 года назад
In fragment , if i want to make one api call then i'm extending BaseFragment as shown in your tutorial ,If I want to do 2 or 3 API calls. How to write code for repository and viewmodel?
@srikanthgutti5056
@srikanthgutti5056 3 года назад
I'm blocked , Need your help @Belal Khan
@abdulrahimhannure7053
@abdulrahimhannure7053 4 года назад
Hi Belal, Please provide few sample test users and passwords to check or test this series because many users may follow directly this series so they might not have any signup api to test it or to login or you can provide signup api endpoint thank you .....
@SimplifiedCoding
@SimplifiedCoding 4 года назад
That is why before this course I have covered the API Building. And you should make the API first Building Login API with OAuth2: ru-vid.com/group/PLk7v1Z2rk4hgbtM7JdPhk4lQUGjr82fUX I have also covered deploying the API to hosting ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-X4KElZcUi-g.html So I am assuming you have everything to do it.
@abdulrahimhannure7053
@abdulrahimhannure7053 4 года назад
@@SimplifiedCoding thank you for your prompt reply , Dear Belal ....
@sureshk0606
@sureshk0606 3 года назад
How to handle refresh token ...
@rahulpadaliya2320
@rahulpadaliya2320 3 года назад
Hello sir, I have issue viewmodel observer triggered multiple time how to resolved?
@manishakalia7365
@manishakalia7365 3 года назад
Hi really nice tutorial . I have one question some time due to bearer if we get bad request than how can we differentiate the bad request or not authorised?
@SimplifiedCoding
@SimplifiedCoding 3 года назад
The code 401 means unauthorized. Dont consider any other error code as unauthorised.
@manishakalia7365
@manishakalia7365 3 года назад
Thank you for your response but I have faced one time in api calling than got to know that due to too long bearer token it was giving 401 error code with HTML response of BAD request
@krishnamandava9919
@krishnamandava9919 4 года назад
How to fix activity slightly displaying after login?
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Make that activity as splash activity. Often for real apps in splash activity we get the config from server and also verify the authToken in backend, it usually takes 2,3 seconds. Then after checking everything we open main activity accordingly. For this project you can stop main activity for 2,3 seconds. Put app logo and a progressbar there.
@danielmigwi1999
@danielmigwi1999 3 года назад
Please please add one more video on how to use KOdein with this project
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I have added dependency injection, not with kodein but with hilt. Check here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QfnmLx68jcI.html
@danielmigwi1999
@danielmigwi1999 3 года назад
@@SimplifiedCoding thats very good ,hope you will add tutorials on Hilt dagger2 for beginners in hilt
@yokeshkp
@yokeshkp 4 года назад
Hey bro, please make a series on rxjava
@adityaaguswisanto7137
@adityaaguswisanto7137 3 года назад
i request method , method CRUD with coding MVVM use this project thankyou belal
@adityaaguswisanto7137
@adityaaguswisanto7137 3 года назад
and I usually have trouble with pagination
@alij3fer
@alij3fer 4 года назад
Hello Sir, please make security application request/response with retrofit stop (charles & fiddler) in this tutorial ❤️❤️
@SimplifiedCoding
@SimplifiedCoding 3 года назад
I am organizing a live session, you can join if you have any doubts: Check details here: ru-vid.comUgxxrOXUP8ssXsB6Lex4AaABCQ
@arunpradhan-ek7zt
@arunpradhan-ek7zt 3 года назад
Sir can we use Instagram or Google logo in android application
@samitxxx
@samitxxx 3 года назад
Have you removed API from server? API response giving 404 error code
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Yeah updating the backend, it will become live tomorrow.
@samitxxx
@samitxxx 3 года назад
@@SimplifiedCoding Thanks..
@surflaweb
@surflaweb 3 года назад
Hi bro! where I can get the source code of the videos? you have github? this project was done with coroutines? when you recommend coroutines? thanks so much.
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Check description of the video.
@surflaweb
@surflaweb 3 года назад
@@SimplifiedCoding Hi bro thanks I got the code.. But before to start the video series.. I want to know if I can implement this proyect with my api rest service.. My server is returning something like this when I logged successfully: { "auth": true, "token": "kjsadjklasdjlkadsjkadkjlaskjaisjofnfgdfn-kjllkjiojmnmncvm" } I did this api rest with node.js and express and mongodb.. Do you think that no problems with this server output with your code? thanks so much.
@surflaweb
@surflaweb 3 года назад
@@SimplifiedCoding it appears that your server is returning this when you make login: val access_token: String?, val created_at: String, val email: String, val email_verified_at: Any, val id: Int, val name: String, val updated_at: String thanks.
@surflaweb
@surflaweb 3 года назад
your access_token is different at every login action? please bro tell me.. thanks
@05Sambist
@05Sambist 4 года назад
Do you show how to register new user?
@SimplifiedCoding
@SimplifiedCoding 4 года назад
No you can easily do it, it is same as login you will just pass two more parameter that are name and confirm password.
@hussainmuafaq6787
@hussainmuafaq6787 3 года назад
@@SimplifiedCoding why we should pass confirm password but in this series (Android MVVM Architecture Tutorial [ FREE COURSE ]) you did not pass confirm password just name , email and password. and thank you so much.
@arunaditya6784
@arunaditya6784 4 года назад
Sir please make video on payment get way integration like paytm phone pay Google pay.
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Will do soon.
@bayudewa5149
@bayudewa5149 4 года назад
sharedpreference?
@freckeyfrek
@freckeyfrek 3 года назад
bro i am beginer android developer and i found everything very tough and i am getting depressed by it. I just wanna ask, everybody face these problems or i am not learning well ????? it has been 2 months learning android.
@SimplifiedCoding
@SimplifiedCoding 3 года назад
You must start by learning fundamentals first
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Start by learning kotlin fundamentals first You can follow this playlist ru-vid.com/group/PLk7v1Z2rk4hgD4teEDp2cMntnH3sR4D3D
@freckeyfrek
@freckeyfrek 3 года назад
@@SimplifiedCoding thanks i will start this series 👍👍
@sushmasrinivas2398
@sushmasrinivas2398 3 года назад
please add dependency injection to this project as soon as possible
@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
@palratnesh05
@palratnesh05 3 года назад
how to download this code ? already i have subscribed
@rajusah3710
@rajusah3710 4 года назад
Can you please add the dependency injection to this course sir?
@SimplifiedCoding
@SimplifiedCoding 4 года назад
Making a separate course for DI.
@rajusah3710
@rajusah3710 4 года назад
@@SimplifiedCoding by when course will available sir. One thing please add to this course how to ask some permission to the user from view model
@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
@bhyregowdagr5808
@bhyregowdagr5808 3 года назад
Ibm drive link pls
@Atom404
@Atom404 3 года назад
Make an app using Gmail api
@newtechai4367
@newtechai4367 2 года назад
i subscribe to your chanel to have acess to one of your project could you please sent the acess code
@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
@FranciscoConstante
@FranciscoConstante 3 года назад
Hi Belal! I can't hit your signup server with parameters, email, password, name, and confirm password. I have tried several combinations on confirm password but I can't. Do you know how I can hit it correctly? thanks! greate job
@SimplifiedCoding
@SimplifiedCoding 3 года назад
@@FranciscoConstante Check the API Building Tutorial (Link is in Description). There I hit the signup api to register a User.
@FranciscoConstante
@FranciscoConstante 3 года назад
@@SimplifiedCoding Thanks Belal!!! it worked, password_confirmation was my mistake
@mbenchaa4556
@mbenchaa4556 3 года назад
Thanks
Далее
#9 Android Login/Signup with MVVM - User Login
15:16
Просмотров 11 тыс.
#3 Android Login/Signup with MVVM - Retrofit
10:02
Просмотров 30 тыс.
Custom Authentication (JSON Web Tokens)
13:03
Просмотров 17 тыс.
Let's Fix The Fatal Flaw in TypeScript's Union Types!
13:45
An Illustrated Guide to OAuth and OpenID Connect
16:36
Просмотров 587 тыс.
#8 Android MVVM Architecture Tutorial - User Login
15:55