getApplicationClassLoader static method

JReference getApplicationClassLoader()

Get the initial classLoader of the application.

This is especially useful on Android, where JNI threads cannot access application classes using the usual JniEnv.FindClass method.

Implementation

static JReference getApplicationClassLoader() =>
    JGlobalReference(_bindings.GetClassLoader());