xiaolongbao/src/main/java/com/tommytao/xiaolongbao/util/BaiduPusher.java
public void unBind() {

		setLastKnownUserIdAndChannelId("", "");
		try {
			appContext.unregisterReceiver(receiver);
		} catch (Exception e) {
		}
		receiver = null;

		// PushManager.stopWork(appContext);

		clearAndOnUiThreadTriggerOnBindListeners(false);

	}
/**
	 * 
	 * Unbind/stop Baidu push service
	 * 
	 * Warning: UNDER CONSTRUCTION, because there are some async issue, use it
	 * in your own risk!
	 * 
	 */
Unbind/stop Baidu push service

UNDER CONSTRUCTION, because there are some async issue, use it
in your own risk!
Unbind / stop Baidu push service UNDER CONSTRUCTION because there are some async issue use it in your own risk!
public void unBind() {
		setLastKnownUserIdAndChannelId("", "");
		try {
			appContext.unregisterReceiver(receiver);
		} catch (Exception e) {
		}
		receiver = null;
		clearAndOnUiThreadTriggerOnBindListeners(false);
	}
public void unBind ( ) { setLastKnownUserIdAndChannelId ( "" , "" ) ; try { appContext . unregisterReceiver ( receiver ) ; } catch ( Exception e ) { } receiver = null ; clearAndOnUiThreadTriggerOnBindListeners ( false ) ; }
Unbind/stop Baidu push service
Unbind / stop Baidu push service
// PushManager.stopWork(appContext);