List of usage examples for android.content ContentResolver removeStatusChangeListener
public static void removeStatusChangeListener(Object handle)
From source file:com.elegion.newsfeed.fragment.SwipeToRefreshList.java
@Override public void onPause() { mRefresher.setOnRefreshListener(null); ContentResolver.removeStatusChangeListener(mSyncMonitor); mListView.setOnItemClickListener(null); mListView.setOnTouchListener(null);/* ww w .j av a 2 s.com*/ mListView.setOnScrollListener(null); super.onPause(); }
From source file:org.ohmage.fragments.HomeFragment.java
@Override public void onPause() { super.onPause(); if (syncObserverHandle != null) { ContentResolver.removeStatusChangeListener(syncObserverHandle); syncObserverHandle = null;/*from w w w.j a va 2 s . c om*/ } }
From source file:com.odoo.core.support.addons.fragment.BaseFragment.java
@Override public void onPause() { super.onPause(); if (mSyncObserverHandle != null) { ContentResolver.removeStatusChangeListener(mSyncObserverHandle); mSyncObserverHandle = null;/*from ww w.j a v a 2 s. c o m*/ } try { parent().unregisterReceiver(syncFinishReceiver); } catch (Exception e) { // Skipping issue related to unregister receiver } }
From source file:edu.mit.mobile.android.locast.ver2.browser.BrowserHome.java
@Override protected void onPause() { super.onPause(); if (mSyncHandle != null) { ContentResolver.removeStatusChangeListener(mSyncHandle); }//w w w .ja v a2s . co m }
From source file:com.alphabetbloc.accessmrs.ui.admin.BaseAdminActivity.java
@Override protected void onPause() { mPaused = true;/*from www.j ava 2s . co m*/ super.onPause(); ContentResolver.removeStatusChangeListener(mSyncObserverHandle); LocalBroadcastManager.getInstance(this).unregisterReceiver(onSyncNotice); }
From source file:com.ntsync.android.sync.activities.AccountListFragment.java
@Override public void onPause() { super.onPause(); ContentResolver.removeStatusChangeListener(statusListener); }
From source file:org.alfresco.mobile.android.application.fragments.sync.SyncFragment.java
@Override public void onPause() { super.onPause(); ContentResolver.removeStatusChangeListener(mContentProviderHandle); }
From source file:edu.mit.mobile.android.locast.ver2.itineraries.ItineraryDetail.java
@Override protected void onPause() { super.onPause(); if (mSyncHandle != null) { ContentResolver.removeStatusChangeListener(mSyncHandle); } }
From source file:com.dogar.geodesic.activities.MainActivity.java
@Override public void onPause() { super.onPause(); if (mSyncObserverHandle != null) { ContentResolver.removeStatusChangeListener(mSyncObserverHandle); mSyncObserverHandle = null;/* ww w .j a v a2s .com*/ } }
From source file:edu.mit.mobile.android.locast.ver2.casts.LocatableListWithMap.java
@Override protected void onPause() { super.onPause(); mMyLocationOverlay.disableMyLocation(); if (mSyncHandle != null) { ContentResolver.removeStatusChangeListener(mSyncHandle); }//ww w . j ava2 s. co m }