Skip to content

Instantly share code, notes, and snippets.

@fatihhcan
Created July 25, 2020 13:49
Show Gist options
  • Save fatihhcan/8f3e5a098b4d17399da61690175f4f0e to your computer and use it in GitHub Desktop.
Save fatihhcan/8f3e5a098b4d17399da61690175f4f0e to your computer and use it in GitHub Desktop.
btn_Kayit.setOnClickListener {
if(et_Mail.text.isNotEmpty() && et_Sifre.text.isNotEmpty() && et_Sifre_Tekrar.text.isNotEmpty()){
if (et_Sifre.text.toString().equals(et_Sifre_Tekrar.text.toString())){
yeniUyeKayit(et_Mail.text.toString(), et_Sifre.text.toString())
}else{
Toast.makeText(this,"Şifreler aynı değil", Toast.LENGTH_SHORT).show()
}
}else{
Toast.makeText(this,"Boş alanları doldurunuz", Toast.LENGTH_SHORT).show()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment