Skip to content

A android library for multidex to lazy install in the right time.

License

Notifications You must be signed in to change notification settings

JLLK/multidex-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multidex-hook

A android library for multidex to lazy install in the right time.

Installation

build.gradle

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile "com.github.jllk:multidex-hook:0.0.1-beta@aar"
}

Application:

class SampleApp extends Application {

  override def attachBaseContext(base: Context): Unit = {
    super.attachBaseContext(base)
    // SampleModuleMgr.getConfig returns Map[module, dexIdx]
    JLLKMultiDexHook.lazyInstall(SampleModuleMgr.getConfig)
  }
}

See also

multidex-maker: https://github.com/JLLK/multidex-maker

multidex-installer: https://github.com/JLLK/multidex-installer

multidex-sample: https://github.com/JLLK/multidex-sample

License

This lib is licensed under Apache License 2.0. See LICENSE for details.

About

A android library for multidex to lazy install in the right time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages