Join Slack
Powered by
One of the pain points I have with the Mutli-platf...
# multiplatform
k
krtko
07/25/2018, 11:33 PM
One of the pain points I have with the Mutli-platform expect/actual API, is insuring a consistent modality of the classes. For example I have
expect class View
and in JS I set the view to be
HTMLElement
(an abstract class) and on Android I need it to be
FrameLayout
(a plain class)
krtko
07/25/2018, 11:34 PM
I guess I could create an empty abstract Framelayout
krtko
07/25/2018, 11:35 PM
But I have run into this issue time and time again. I get why it exists, but I am just wondering if anyone has any clever work arounds for it.
Open in Slack
Previous
Next