Use a cursorloader from another activity

78 views Asked by At

Is it possible to make use of - have access to a cursorloader that is implemented from another activity? That is to have a helper class that makes all the calls to a cursorloader, and this cursorloader being accessed from different activities. If so, how this can be done? I know that in order for this to work every activity should implement its own cursorloader.

1

There are 1 answers

0
Nick On

As pskink pointed out: "create a class that implements LoaderManager.LoaderCallbacks and use it wherever you want". Thanks!