示例#1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_circle_info);
   cid = getIntent().getStringExtra("cid");
   findViewById();
   setListener();
   modle = DBUtils.getCircleDetail(cid);
   imageLoader = CLXApplication.getImageLoader();
   options = CLXApplication.getOptions();
   if (!Utils.isNetworkAvailable()) {
     Utils.showToast("请检查网络");
     return;
   }
   if (modle != null) {
     isSelf(modle.getCreator());
     setvalue(
         modle.getName(),
         modle.getLogo(),
         modle.getDescription(),
         modle.getMembersTotal() + "",
         modle.getMembersVerified() + "");
   } else {
     pd = DialogUtil.getWaitDialog(this, "请稍后");
     pd.show();
   }
   getServerData();
 }