Now I want to create several AsyncTaskLoaders with different types.
One could be:
public Loader<List<Category>> onCreateLoader(int id, final Bundle args) {
...
}
The other one could be:
public Loader<BigInteger> onCreateLoader(int id, final Bundle args) {
...
}
I read about the post LoaderManager with multiple loaders: how to get the right cursorloader, but simply checking the ID will not fit my case.
Should I just create two sets of implemented methods in the activity to support these two loaders?