Register issue with login system in Kotlin
On Login page and when pressing register, it takes you to register, but when clicking on register button on register page, it adds user to database regardless if info is provided or not and then takes you back to login page. I want the validation to happen before the execution. Currently it does validate, but executes regardless. Please advise.
import android.content.ContentValues
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import...