private void PostTask(String url) { HashMap<String, Object> map = new HashMap<String, Object>(); map.put("uid", SharedUtils.getString("uid", "")); map.put("token", SharedUtils.getString("token", "")); map.put("cid", cid); PostAsyncTask task = new PostAsyncTask(this, map, url); task.setTaskCallBack(this); task.execute(); pd = DialogUtil.getWaitDialog(CircleInfoActivity.this, "请稍后"); pd.show(); }
private void isSelf(String creatorID) { if (creatorID.equals(SharedUtils.getString("uid", ""))) { btnDissolve.setVisibility(View.VISIBLE); edit.setVisibility(View.VISIBLE); btnExit.setVisibility(View.GONE); } else { btnExit.setVisibility(View.VISIBLE); } }