navigate from fragment to activity kotlin 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)
}
}