kotlin move to new activity code example
Example: how to move from fragment to activity in kotlin
btn.setOnClickListener {
activity.let {
val intent = Intent(it, GuardianProfile::class.java)
startActivity(intent)
}
}