Sonny To
2017-09-17 14:34:11 UTC
(context:startActivity i)
gives a warningi
/dev/stdin:23:2: warning - no known slot 'startActivity' in java.lang.Object
it works but why is it giving a warning?
I could do
((as android.app.Application context):startActivity i)
and not get a warning but its more verbose. what is more idiomatic? I
prefer the former but I am concern about getting warnings.
gives a warningi
/dev/stdin:23:2: warning - no known slot 'startActivity' in java.lang.Object
it works but why is it giving a warning?
I could do
((as android.app.Application context):startActivity i)
and not get a warning but its more verbose. what is more idiomatic? I
prefer the former but I am concern about getting warnings.