原理讲解文章:避免使用onActivityResult,以提高代码可读性

配合AOP的实践文章:一个注解搞定登录注册、实名认证及购买vip等业务流程

优雅地封装和使用onActivityResult

Setup

  1. in your root build.gradle

    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
  2. add to dependencies

    dependencies {
            implementation 'com.github.AnotherJack:AvoidOnResult:1.0.0'
    }

Usage

如果对你有所帮助,给个star吧