Searched refs:SuggestionLoader (Results 1 – 5 of 5) sorted by relevance
97 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()109 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()115 if (id == SuggestionLoader.LOADER_ID_SUGGESTIONS) { in onCreateLoader()117 return new SuggestionLoader(mContext, mSuggestionController); in onCreateLoader()
33 public class SuggestionLoader extends AsyncLoader<List<Suggestion>> { class40 public SuggestionLoader(Context context, SuggestionController controller) { in SuggestionLoader() method in SuggestionLoader
96 loaderManager.restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected()108 loaderManager.destroyLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS); in onServiceDisconnected()114 if (id == SuggestionLoader.LOADER_ID_SUGGESTIONS) { in onCreateLoader()
93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()121 mMixin.onLoadFinished(mock(SuggestionLoader.class), null); in doneLoadingg_shouldSetSuggestionLoaded()125 mMixin.onLoaderReset(mock(SuggestionLoader.class)); in doneLoadingg_shouldSetSuggestionLoaded()
93 verify(loaderManager).restartLoader(SuggestionLoader.LOADER_ID_SUGGESTIONS, in onServiceConnected_shouldGetSuggestion()