Join Slack
Powered by
When i call a method defined in java as `<T ext...
# announcements
s
skennedy
08/04/2017, 9:21 PM
When i call a method defined in java as
<T extends View> T findViewById(int id)
, why do i need to specify
<View>
? Shouldn’t the compiler default the type to
View
if I don’t specify something more concrete?
Open in Slack
Previous
Next