コード例 #1
0
 /** 初始化设置 */
 public void initSet() {
   mApp = (MyApplication) getApplication();
   mApp.setActivity(this);
   mInflater = LayoutInflater.from(getApplicationContext());
   initTheCommonLayout();
   // 把内容和title结合
   setContentView(combineTheLayout());
   initIntent();
   initView();
   initData();
   initListener();
   doRefreshNew();
 }