tiemonl / imhungry

imhungry is an Android app to decide where to eat any time, any where
https://imhungry.io/
GNU General Public License v3.0
1 stars 0 forks source link

Add a base activity, launcher activity, and separate logged in/logged out activities #7

Closed TripleFrequency closed 5 years ago

TripleFrequency commented 5 years ago

Following this, the login activity itself still needs to be refactored, but this improves the process a bit.

No matter where you are in the app, if you extend the BaseActivity, then if the user becomes signed out in some way, the login will automatically be brought up.

When you start the app, you first go to the LauncherActivity, which either loads the MainActivity or the LoginActivity, depending on the firebase auth state.