Join Slack
Powered by
so if I have something like : fun <T : View>...
# android
f
f.babic
01/19/2017, 2:22 PM
so if I have something like : fun <T : View> View.findViewBy(id: Int) : T? = findViewById(id) as? T it still shows a cast warning, I realise the logic behind but still if I’ve got the unsafe cast, the compiler shouldn’t worry about it right?
Open in Slack
Previous
Next