pub fn init(app: AndroidApp) -> Result<(), SetPlatformError>
Expand description
Initializes the Android backend.
Note: This function is only available on Android with the “backend-android-activity-06” feature
This function must be called from the android_main
function before any call to Slint that needs a backend.
See the module documentation for an example on how to create Android application.
See also init_with_event_listener