fun kullaniciOlustur2(view: View){
        val intent = Intent(applicationContext,KullaniciOlustur2::class.java)
        intent.putExtra("input",makeUsername.text.toString())
        intent.putExtra("input2",makeUserphone.text.toString())
        startActivity(intent)
    }
Mainactivity2 starts here..before this, I was using
val intent = intent 
val received: String = intent.getStringExtra("input")   
makeUsername.text = received 
But this method doesn't work anymore.
I tried using getIntent() but couldn't get anything
   val intent = getIntent()
 
     
     
    