Searched refs:mDataSetObserver (Results 1 – 6 of 6) sorted by relevance
71 protected DataSetObserver mDataSetObserver; field in CursorRecyclerAdapter127 mDataSetObserver = new MyDataSetObserver(); in init()130 mDataSetObserver = null; in init()137 if (mDataSetObserver != null) { in init()138 c.registerDataSetObserver(mDataSetObserver); in init()249 if (mDataSetObserver != null) { in swapCursor()250 oldCursor.unregisterDataSetObserver(mDataSetObserver); in swapCursor()258 if (mDataSetObserver != null) { in swapCursor()259 newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
39 private DataSetObserver mDataSetObserver; field in SuggestionsAdapterBase95 if (mDataSetObserver == null) { in setSuggestions()96 mDataSetObserver = new MySuggestionsObserver(); in setSuggestions()100 mSuggestions.unregisterDataSetObserver(mDataSetObserver); in setSuggestions()105 mSuggestions.registerDataSetObserver(mDataSetObserver); in setSuggestions()
36 private DataSetObserver mDataSetObserver = new DataSetObserver() { field in CategoryTrack61 mAdapter.registerDataSetObserver(mDataSetObserver); in setAdapter()
83 private RecyclerView.AdapterDataObserver mDataSetObserver = field in SettingsPreferenceFragment230 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()233 mCurrentRootAdapter.registerAdapterDataObserver(mDataSetObserver); in registerObserverIfNeeded()242 mCurrentRootAdapter.unregisterAdapterDataObserver(mDataSetObserver); in unregisterObserverIfNeeded()
44 private DataSetObserver mDataSetObserver = new DataSetObserver() { field in CompositeListAdapter86 adapter.registerDataSetObserver(mDataSetObserver); in addAdapter()