public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); paramBundle = new ListView(this); this.shopAdapter = new ShopAdapter(); paramBundle.setAdapter(this.shopAdapter); this.dataList = getConfigList(getIntent().getStringExtra("shop_config")); this.shopAdapter.setData(this.dataList); setContentView(paramBundle); getTitleBar().findViewById(R.id.title_button).setVisibility(0); ((TextView)getTitleBar().findViewById(R.id.title_button)).setText("全部展开"); getTitleBar().findViewById(R.id.title_button).setOnClickListener(new View.OnClickListener() { public void onClick(View paramView) { if (!DebugShopConfigActivity.this.isExpandAll) { DebugShopConfigActivity.access$002(DebugShopConfigActivity.this, true); ((TextView)DebugShopConfigActivity.this.getTitleBar().findViewById(R.id.title_button)).setText("全部收起"); paramView = DebugShopConfigActivity.this.dataList.iterator(); while (paramView.hasNext()) ((DebugShopConfigActivity.ConfigData)paramView.next()).setVisibile(true); DebugShopConfigActivity.this.shopAdapter.setData(DebugShopConfigActivity.this.dataList); return; } DebugShopConfigActivity.access$002(DebugShopConfigActivity.this, false); ((TextView)DebugShopConfigActivity.this.getTitleBar().findViewById(R.id.title_button)).setText("全部展开"); paramView = DebugShopConfigActivity.this.dataList.iterator(); while (paramView.hasNext()) ((DebugShopConfigActivity.ConfigData)paramView.next()).setVisibile(false); DebugShopConfigActivity.this.shopAdapter.setData(DebugShopConfigActivity.this.dataList); } }); }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); super.setContentView(R.layout.huihui_rules_activity); super.getWindow().setBackgroundDrawable(null); setTitle("使用规则"); this.rules = getIntent().getParcelableArrayListExtra("rules"); this.tip = getStringParam("tip"); initView(); }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); super.setContentView(R.layout.submit_scenery_order); paramBundle = getIntent().getData().getQueryParameter("shopid"); try { this.shopID = Integer.valueOf(paramBundle).intValue(); this.ticket = ((DPObject) getIntent().getParcelableExtra("ticket")); initView(); return; } catch (Exception paramBundle) { while (true) Log.e("FormatException , ex = " + paramBundle.getMessage()); } }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); setContentView(R.layout.selectdish_together_cart_layout); this.mShopId = this.mCartManager.getShopId(); GAHelper.instance().setGAPageName(getPageName()); this.gaUserInfo.shop_id = Integer.valueOf(this.mShopId); GAHelper.instance().contextStatisticsEvent(this, "cart", this.gaUserInfo, "view"); this.mAverage = this.mCartManager.average; this.isEstimate = this.mCartManager.isEstimate; initViews(); this.mCartManager.sortDishes(); this.mCartManager.addCartChangedListener(this.dishCartListener); }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); Uri localUri = getIntent().getData(); if (localUri != null) { this.shopId = localUri.getQueryParameter("shopid"); this.cityId = localUri.getQueryParameter("cityid"); } if ((this.shopId == null) && (paramBundle != null)) { this.shopId = paramBundle.getString("shopid"); this.cityId = paramBundle.getString("cityid"); } this.source = getStringParam("source"); sendInfoRequest(); }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); paramBundle = getIntent(); try { this.orderId = Integer.parseInt(paramBundle.getStringExtra("orderId")); this.shopName = paramBundle.getStringExtra("shopName"); } catch (NumberFormatException localNumberFormatException2) { try { this.shopId = Integer.parseInt(paramBundle.getStringExtra("shopId")); setTitle(this.shopName); this.adapter = new Adapter(this); setupView(); initData(paramBundle); initBottomAd(paramBundle); this.source = getIntent().getData().getQueryParameter("source"); paramBundle = new Intent("tuan:add_review_successfully"); paramBundle.putExtra("shopId", this.shopId); paramBundle.putExtra("orderId", this.orderId); sendBroadcast(paramBundle); requestRecommendReview(); return; localNumberFormatException1 = localNumberFormatException1; localNumberFormatException1.printStackTrace(); } catch (NumberFormatException localNumberFormatException2) { while (true) localNumberFormatException2.printStackTrace(); } } }