公布几个在用的框架(更新中)

  • 作者:彭老师
  • 日期:2019-11-27
  • 类型:Android
  • 说明:本文源于彭老师手写摘要,如需转载请带上链接或注明出处!

1、组件化路由框架:https://github.com/cnmen/arouter

  • Gradle:
    implementation 'com.cmonbaby.arouter.core:arouter_core:2.1.2'
    implementation 'com.cmonbaby.arouter.annotation:arouter_annotation:2.1.2'
    annotationProcessor 'com.cmonbaby.arouter.compiler:arouter_compiler:2.1.2'

2、ButterKnife控件注入:https://github.com/cnmen/butterknife

  • Gradle:
    implementation 'com.cmonbaby.butterknife.annotation:butterknife_annotation:2.1.0'
    implementation 'com.cmonbaby.butterknife.core:butterknife_core:2.1.0'
    annotationProcessor 'com.cmonbaby.butterknife.compiler:butterknife_compiler:2.1.0'

3、谷歌二维码框架:https://github.com/cnmen/zxing

  • Gradle:
    implementation 'com.cmonbaby.zxing.library:zxing_library:1.1.0'

4、事件总线框架:https://github.com/cnmen/eventbus

  • Gradle:
    implementation 'com.cmonbaby.eventbus.core:eventbus_core:1.2.0'
    implementation 'com.cmonbaby.eventbus.annotation:eventbus_annotation:1.2.0'
    annotationProcessor 'com.cmonbaby.eventbus.compiler:eventbus_compiler:1.2.0'

5、运行时权限框架:https://github.com/cnmen/permission

  • Gradle:
    implementation 'com.cmonbaby.permission.core:permission_core:1.1.0'
    implementation 'com.cmonbaby.permission.annotation:permission_annotation:1.1.0'
    annotationProcessor 'com.cmonbaby.permission.compiler:permission_compiler:1.1.0'

6、图片压缩框架:https://github.com/cnmen/compress

  • Gradle:
    implementation 'com.cmonbaby.compress.core:compress_core:1.0.2'