<Why this saveToken function is keep saving wrong ...
# stackoverflow
u
Why this saveToken function is keep saving wrong email &amp; password even responseMessage = false? How to fix this (Kotlin) this is my kotlin app school project. So, the problem is my saveToken function keep saving the wrong email and password. Here is example case, when user do login with wrong email and password, saveToken saving the login data and toast about wrong email/password will appear, and then user do login with correct email & password, user will succesfully login to main activity but saveToken function is not running. Error appear when reopen the app (starting from splashActivity), the app will send...