Code example for ServiceConnection

Methods: onServiceConnected

0
 
		@Override 
		public void onServiceConnected(final ComponentName className, final android.os.IBinder service) {
 
			if (mCallback != null) {
				mCallback.onServiceConnected(className, service);
			} 
		} 
 
		@Override 
		public void onServiceDisconnected(final ComponentName className) {
 
			if (mCallback != null) {
				mCallback.onServiceDisconnected(className);
			} 
		} 
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE