val btn=findViewById<View>(R.id.button2) as Button val enter=findViewById<View>(R.id.editText) as EditText btn.setOnClickListener { val ad=enter.text.toString().trim() enter.text=null } Read more
No comments:
Post a Comment