skip to Main Content

Android Studio – Kotlin Clearing edit text on click

So I am having issues finding a Kotlin way to clear a edit number field when the input is selected to enter a number. class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) //MyCode val submitButton: Button…

VIEW QUESTION
Back To Top
Search