im doing a starting setup settings thing for my app and i was wondering how i can get it to skip the sign up page once they have already entered once? an if statement would be the thing I thought but im not so good with if statements in android so could anyone point me in the direction for a solution?
Share
Store a value in
SharedPreferences(e.g.boolean loggedIn=true) once the login data has been entered and saved. Then every time you start your app get the value fromSharedPreferencesand decide whether to show the login-window (loggedIn==false) or not (loggedIn==true).