Example #1
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   CacheBeans beans = GlobalRes.getInstance().getBeans();
   if (beans.getCurrentType4Data() != null) {
     beans.getCurrentType4Data().refreshStar();
     adapter.notifyDataSetChanged();
   }
 }
Example #2
0
 protected void initData() {
   super.initData();
   setContentView(R.layout.aty_download);
   btnBack = (ImageButton) findViewById(R.id.btnBack);
   btnBack.setOnClickListener(this);
   lvDownloads = (ListView) findViewById(R.id.lvDownloads);
   refreshData();
   GlobalResTypes.getInstance().setCallBackType4(callbackResDownload);
 }
Example #3
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.aty_binding_infos);

    btnBack = (ImageButton) findViewById(R.id.btnBack);
    btnBack.setOnClickListener(this);
    rlBindingPhone = (RelativeLayout) findViewById(R.id.rlBindingPhone);
    rlBindingPhone.setOnClickListener(this);
    rlBindingWeChat = (RelativeLayout) findViewById(R.id.rlBindingWeChat);
    rlBindingWeChat.setOnClickListener(this);
    rlBindingAlipay = (RelativeLayout) findViewById(R.id.rlBindingAlipay);
    rlBindingAlipay.setOnClickListener(this);
  }
Example #4
0
  @Override
  protected void initData() {
    super.initData();
    setContentView(R.layout.aty_lesson_type4s);

    btnBack = (ImageButton) findViewById(R.id.btnBack);
    btnBack.setOnClickListener(this);
    txtKeyNum = (TextView) findViewById(R.id.txtKeyNum);
    imageView1 = (ImageView) findViewById(R.id.imageView1);
    txtKeyNum.setOnClickListener(this);
    imageView1.setOnClickListener(this);

    lv = (ListView) findViewById(R.id.lv);
    adapter = new AdapterType4(this);
    lv.setAdapter(adapter);
    lv.setOnItemClickListener(this);
    refreshView();
  }
Example #5
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
 }
Example #6
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   GlobalResTypes.getInstance().clearCallbackType2();
   GlobalResTypes.getInstance().clearCallbackType4();
 }