use of com.commonsware.android.dyncode.api.ThingsLoader in project cw-omnibus by commonsguy.
the class ThingsLoaderThunk method loadThunk.
private void loadThunk() throws ClassNotFoundException, IllegalAccessException, InstantiationException {
DexClassLoader dcl = new DexClassLoader(apkPath.getAbsolutePath(), cachePath.getAbsolutePath(), null, getClass().getClassLoader());
Class<ThingsLoader> clazz = (Class<ThingsLoader>) dcl.loadClass(classname);
extImpl = clazz.newInstance();
}
Aggregations