Thread
#multiplatform
    krtko

    krtko

    4 years ago
    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)
    I guess I could create an empty abstract Framelayout
    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.