https://kotlinlang.org logo
#compose
Title
# compose
i

Ian Warwick

03/05/2020, 5:13 PM
What is this voodoo magic (luckily it was just a hacky function I am not using)
Copy code
// TODO(b/137794549): Remove View System-related expect/actuals
internal actual typealias View = android.view.View
So I guess if you are doing compose stuff then you won't be allowed to access
View
in the same file?
s

shikasd

03/05/2020, 5:16 PM
do you have right imports?
i

Ian Warwick

03/05/2020, 5:16 PM
yeh I think its been internalised so maybe mixing is not allowed?
s

shikasd

03/05/2020, 5:18 PM
No, but can you
import android.view.View
on the top of the file?
i

Ian Warwick

03/05/2020, 5:18 PM
will try, good point
aha! Thanks @shikasd yes It was referencing compose equivalents, cheers
l

Leland Richardson [G]

03/05/2020, 5:53 PM
Yeah this was an accidental public expect/actual date j compose that we removed
it doesn’t make any difference, it’s all pointing to the same thing, this was just a mistake we made early on and didnt realize it until recently
i

Ian Warwick

03/06/2020, 9:53 AM
cheers Leland!
2 Views