Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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);
   }
 }