Better Implementation of AsyncTask in Android
This is a custom wrapper of Android AsyncTask
that I use in my projects.
It has more convenient fluent API for managing async operations and supports flexible exception handling.
You can omit methods that you do not need, like onBefore(...)
or onAfter(...)
.
Also you do not need to inherit AsyncTask
for each background task.