android - FragmentManager from application context -


is there way fragmentmanager application context? want use imageloader or bitmapfun store bitmaps download server. both class require fragmentmanager use retain cache on configuration changes such orientation change. in case want pre-download images before "need" them.

is there way fragmentmanager application context?

no, because fragments part of activity.

in case want pre-download images before "need" them.

then use different library, 1 not have dependency upon fragments.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

.net - How to detect a double-click outside of vb.net form -