void initStartedLoaders ( ) { LoaderManager lm = operatorContext . loaderManager ; SparseArray < LoaderCookies > listenersMap = this . listenersMap ; int count = listenersMap . size ( ) ; for ( int i = 0 ; i < count ; i ++ ) { int loaderId = listenersMap . keyAt ( i ) ; Loader < ? > loader = lm . getLoader ( loaderId ) ; if ( loader != null && loader . isStarted ( ) ) { LoaderCookies cookies = listenersMap . valueAt ( i ) ; boolean notInit = ( cookies . options & LoaderCookies . ALREADY_INIT ) == 0 ; if ( notInit ) { Utils . initLoader ( operatorContext , loaderId , STUB_PROVIDER , ( cookies . options & LoaderCookies . DESTROY_ON_FINISH ) == LoaderCookies . DESTROY_ON_FINISH , this ) ; } } } }
Initialize already started loaders .