Is there any option to implement `LoaderManager.LoaderCallbacks<Cursor>` and respective methods from a `TabActivity`?

StackOverflow https://stackoverflow.com/questions/13826949

Question

Is there any option to implement LoaderManager.LoaderCallbacks<Cursor> and respective methods and getSupportLoaderManager().initLoader(1, null, this); from a TabActivity ?

I know that TabActivity is deprecated, but I can't find a solution without transform all my Aactivities into Fragments to use a tabs and I need to implement a CursorLoader (this one) on my TabActivitiy, if this is possible.

Était-ce utile?

La solution

do not use TabActivity! It's deprecated!

Use the action bar alternative that you'll be able to use the loaders.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top