Java Code Examples for cn.sharesdk.framework.utils.UIHandler#sendEmptyMessage()

The following examples show how to use cn.sharesdk.framework.utils.UIHandler#sendEmptyMessage() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SignupPage.java    From ThirdPartyLoginDemo with MIT License 5 votes vote down vote up
@Override
public void onClick(View v) {
	switch (v.getId()) {
	case R.id.ll_back:
		this.finish();
		break;
	case R.id.tv_ensure:
		UIHandler.sendEmptyMessage(MSG_SHOW_TOAST, SignupPage.this);
		break;
	case R.id.rl_icon:
		//showChangeIconDialog();
		getPicture();
		break;
	case R.id.rl_name:
		showChangeInfo(ChangeUserType.USER_NAME);
		break;
	case R.id.rl_gender:
		showGerderDialog();
		break;
	case R.id.rl_note:
		showChangeInfo(ChangeUserType.USER_NOTE);
		break;
	case R.id.iv_user_icon:
		PicViewer pv = new PicViewer();
		pv.setImagePath(userInfo.getUserIcon());
		pv.show(activity, null);
		break;
	default:
		break;
	}		
}
 
Example 2
Source File: FollowList.java    From Huochexing12306 with Apache License 2.0 4 votes vote down vote up
public void onCancel(Platform plat, int action) {
	UIHandler.sendEmptyMessage(-1, this);
}
 
Example 3
Source File: FollowList.java    From WeCenterMobile-Android with GNU General Public License v2.0 4 votes vote down vote up
public void onCancel(Platform plat, int action) {
	UIHandler.sendEmptyMessage(-1, this);
}
 
Example 4
Source File: FollowList.java    From ShareSDKShareDifMsgDemo-Android with MIT License 4 votes vote down vote up
public void onCancel(Platform plat, int action) {
	UIHandler.sendEmptyMessage(-1, this);
}
 
Example 5
Source File: FollowList.java    From AndroidLinkup with GNU General Public License v2.0 4 votes vote down vote up
public void onCancel(Platform plat, int action) {
	UIHandler.sendEmptyMessage(-1, this);
}
 
Example 6
Source File: FollowList.java    From -Android_ShareSDK_Example_Wechat with MIT License 4 votes vote down vote up
public void onCancel(Platform plat, int action) {
	UIHandler.sendEmptyMessage(-1, this);
}