Skip to content

cangwang/ModuleBus

 
 

Repository files navigation

ModuleBus_Ex

ModuleBus_Ex is use for diffent modules display in one Activity or Fragment.
One function one module ,to make module independence.

like this

Gradle:

compile 'com.cangwang.core:modulebus:3.0.0'

Maven:

<dependency>
  <groupId>com.cangwang.core</groupId>
  <artifactId>modulebus</artifactId>
  <version>3.0.0</version>
  <type>pom</type>
</dependency>

*Important
1.need to set base module depend with ModuleBus and ,other communicated modules depend with base module.
2.need to import rxjava2 and rxandroid,to make loading high efficiency.

compile 'io.reactivex.rxjava2:rxjava:2.+'
compile 'io.reactivex.rxjava2:rxandroid:+'

*2017.6.15 update
make modules can layout free in sreen.
make modules load high efficiency with rxjava and rxandroid.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages