GithubHelp home page GithubHelp logo

oleksandrkucherenko / autoproxy Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 3.0 551 KB

Annotation Processing Library. Generates proxy class on top of interface/abstract class, that allows to intercept calls. Also known as a design pattern: proxy, delegate, interceptor.

License: MIT License

Java 89.48% Shell 10.52%
android annotation-processing annotation-processor annotation-tool annotations autoproxy delegate intercept-calls interceptor java java-8 mvp mvp-android mvp-architecture mvp-pattern proxy

autoproxy's People

Contributors

alexkucherenko avatar dependabot-preview[bot] avatar gurappa avatar oleksandrkucherenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

autoproxy's Issues

Attempt to update Gradle resulted in AutoProxy to break.

We tried to upgrade gradle plugin version but AutoProxy is broken when we did that.
Do you have any clue why it does so ? Or can you help us raising gradle plugin version in your project where this lib is used and see if you face the problem. If you face, how you could solve it ?

Overriding the default behaviour of throwing UnsupportedOperationException

We have a method in Activity which returns if activity has any dialog fragments are shown or not. For now of our case, app crashed, reason is Activity's predicate method returned false (as it must be finish()ing or onSaveInstance() is called) and so method throws UnsupportedOperationException().

Instead of throwing the exception, it could return the default boolean that I expect then I could handle (at least for this case it can be handled with default value).

Question is how/where can I change the code so that I can get the default value in case of predicate returning false and so I can avoid UnsupportedOperationException ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.