move fragment to activity in android 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)
}
}