Android StartActivity et fermez tous les autres

this.startActivity(Intent(this, HomeActivity::class.java))
this.finishAffinity()
Slashcode