Join Slack
Communities
Powered by
When assigning a view by id, why must we append th...
# android
n
nmthompson
02/12/2018, 11:14 PM
When assigning a view by id, why must we append the "as <View>" shouldn't this be inferred?
val loginTextView : TextView = findViewById(R.id.login_button) as TextView
I feel like this was a recent warning I started getting, but maybe i'm wrong and just never noticed
Open in Slack
Previous
Next