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 }
Home Of Tech news,jobs and android tutorials
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 }
About Wise4rmGod
android developer and a graphic designer,who likes to blog and share latest IT information and help young developers grow.
No comments:
Post a Comment