Thursday 15 September 2011

java - AsyncTask leaks: Robospice and AndroidAnnotations -


As explained by many developers, AsyncTask is inconvenient: they leak in some situations (For example, when the screen rotates during execution of AsyncTask (and thus the activity is restarted).

I AsyncTask

  • RoboSpice:

    OR:

    • Android Annotation:

      Question:

      1. Is the robospice compatible with Android annotation? (If I start with Robospius and want to use Android annotations later)
      2. Asynchronous Async Methods in the Classical AsyncTask ? I actually use both libraries: Robotspits, for its annotation to service-based networking functions and to get rid of caching and boilerplate. E, the dependency injection and sanitation Recently I wrote a blog post about combining the two in one app: You will receive your sample on Github ().

No comments:

Post a Comment