文件名称:Android代码-interceptor
文件大小:91KB
文件格式:ZIP
更新时间:2022-08-26 02:59:02
Android代码
Simple Android Interceptor It's a simple interceptor implementation in Android and it workes with activity's lifecycle. As you known, in our App a some activity's content info is retrieved from server with account ID, so you need login first, after login successfully then go into that activity, it's not very difficult to implement everyone, but a lot of boring code work. how to use? For example: LoginInterceptor define interceptor class: public class LoginInterceptor extends Interceptor {
【文件预览】:
interceptor-master
----gradlew(5KB)
----settings.gradle(15B)
----ActivityInterceptor.iml(873B)
----README.md(2KB)
----local.properties(437B)
----gradlew.bat(2KB)
----gradle.properties(730B)
----.gitignore(16B)
----app()
--------src()
--------app.iml(10KB)
--------.gitignore(7B)
--------build.gradle(941B)
--------proguard-rules.pro(937B)
----build.gradle(498B)