Join Slack
Powered by
By marking the function as inline and reified, the...
# android
j
jw
08/17/2018, 2:16 PM
By marking the function as inline and reified, the cast is now inlined at the callsite and
T
is replaced with the real type. So your callsites at runtime now contain a real cast to
MyAdapter
prior to the language letting you use it as
MyAdapter
.
Open in Slack
Previous
Next