Ejemplo n.º 1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addContentView(R.layout.change_bind_first);
    setTitle("修改绑定手机");
    btnNext = (Button) findViewById(R.id.change_bind_btn_next);
    edtUid = (EditText) findViewById(R.id.change_bind_edt_uid);
    edtPwd = (EditText) findViewById(R.id.change_bind_edt_pwd);

    btnNext.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            // startActivity(new
            // Intent(ChangeBindActivityFirst.this,ChangeBindActivitySecond.class));
            if (check()) {
              CheckPassWordRequest checkPassWordRequest = new CheckPassWordRequest();
              checkPassWordRequest.setUserId(edtUid.getText().toString().trim());
              checkPassWordRequest.setPassWord(edtPwd.getText().toString());
              sendRequest(checkPassWordRequest);
            }
          }
        });
  }
Ejemplo n.º 2
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   addContentView(R.layout.home_evaluate_view);
   context = this;
   setTitle("评价");
   init();
   initListener();
 }
Ejemplo n.º 3
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   addContentView(R.layout.home_order_view);
   setTitle("订单列表");
   context = this;
   init();
   registerLinstener();
   initViewPager();
   sendSellRequest(pageIndexSell, pageSize, "dd");
   sendBuyRequest(pageIndexBuy, pageSize, "dd");
   showProgress();
 }
Ejemplo n.º 4
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   context = this;
   addContentView(R.layout.ask_price_view);
   setTitle("询价");
   init();
   initViewPager();
   registerLinstener();
   sendAskOtherReq();
   ImageSizeUtils.myScale = 1;
   showProgress();
 }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setTitle("修改价格");
    addContentView(R.layout.change_price_detail_view);
    lv = (ListView) findViewById(R.id.change_price_detail_lv_list);
    btnDetail = (Button) findViewById(R.id.change_price_detail_view_btn_detail);
    adapter = new Adapter();
    lv.setAdapter(adapter);

    btnDetail.setOnClickListener(
        new OnClickListener() {

          @Override
          public void onClick(View v) {
            startActivity(
                new Intent(ChangePriceDetailActivity.this, CarSourceDetailActivity.class));
          }
        });
  }