Code example for ContentProviderClient

Methods: release

0
 
    @Override 
    public void onDestroy() { 
        super.onDestroy(); 
        mSyncProcessor.stop();
        mContentProviderClient.release();
        mProvider = null;
    } 
 
    @Override 
    public IBinder onBind(Intent intent) {
        return new LocalBinder(); 
    } 
 
    public class LocalBinder extends Binder {
        public LocastSimpleSyncService getBinder() { 
            return LocastSimpleSyncService.this;
        } 
    }