I am making login and registration page for my android application. In this page I have a spinner with choices "Driver" and "Customer". Depending on the value of spinner, user should be registrated as Driver or Customer. However, when i register new user as driver, and then login with that driver's information, I can login both as Driver and Customer. For database I'm using firebase.
Here is my code
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java