How do you go to dashboard (start activity) after successful Login in Kotlin?
I'm learning Kotlin and Android Development and I want to go to my dashboard (another activity) when I successfully login, but when I try to, my app keeps crashing and I do not know why. I've searched for many solutions but they're years old so maybe that is why it is not working.
MainActivity Code:
package com.example.firstkotlin
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.widget.Button...