FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_android

    module · ferroui-android · v0.5.0

    module ferroui_android
    

    The Android platform.

    An application is a shared library that the application class of the Java layer of this crate loads (java/org/ferroui/android). There are no windows: content is shown by a FerroView in an activity (FerroActivity; the main activity shows the main view of the ApplicationLifetime). The system drives everything: the dispatcher is the main looper, rendering follows the choreographer on a render thread, and the surface of the view is drawn through EGL or into the buffer of its native window.

    interop is the only place that crosses to Java and to the NDK. The parts that call the system exist on Android only; on another system the crate is the logic of the backend, which its tests run there. The design is in docs/porting/android-platform.md.

    View source

    Contents

    Availability

    Extracted for aarch64-linux-android, aarch64-apple-darwin. Cargo features are listed in the crate index.