文件名称:Android代码-Api-Error-Handler
文件大小:62KB
文件格式:ZIP
更新时间:2022-08-25 19:22:49
Android代码
Introduction Declarative error handling. Define expected behaviour of API and don't worry about actual implementation. It uses your annotations to generate code that will make sure your interface methods get called when specific error code is returned from API. Usage Specify interface with methods that you want called for different API error codes. @AutoHandler // let compiler know it should analyse your class public interface SimplerErrorListener { // your code has to implement this in
【文件预览】:
Api-Error-Handler-master
----gradlew.bat(2KB)
----gradlew(5KB)
----example()
--------src()
--------build.gradle(345B)
----Api-Error-Handler.iml(677B)
----gradle.properties(824B)
----api()
--------src()
--------build.gradle(130B)
----LICENSE(11KB)
----gradle()
--------wrapper()
----generator()
--------src()
--------build.gradle(464B)
----.idea()
--------codeStyles()
--------runConfigurations()
--------runConfigurations.xml(564B)
--------misc.xml(6KB)
--------vcs.xml(167B)
--------.name(17B)
--------modules.xml(717B)
--------modules()
----publishing.gradle(3KB)
----.gitignore(2KB)
----README.md(4KB)
----error-handler.iml(1KB)
----settings.gradle(92B)
----build.gradle(882B)