コード例 #1
0
ファイル: FoodMenuActivity.java プロジェクト: cherakkara/iwms
 public void onClick(View view) {
   switch (view.getId()) {
     case R.id.food_intro_button_layout:
       m13536l();
     case R.id.food_intro_back:
     case R.id.food_menu_back:
       supportFinishAfterTransition();
     case R.id.food_order_faq:
       startActivity(FaqActivity.m13493a((Context) this, getString(R.string.url_ofd_faq)));
     case R.id.place_order_button:
       dt c = this.f9624h.m13209c();
       if (Utils.m14924g(c.getPhoneNumber()) && Utils.m14924g(c.getName()) && c.isVerified()) {
         m13534k();
         m13537m();
         return;
       }
       m13518a(
           getString(R.string.missing_phone_number_header),
           getString(R.string.missing_phone_number_desc));
     case R.id.food_activity_review_cancel:
       m13517a("Cancelled");
       m13538n();
     case R.id.food_activity_review_confirm:
       Sherlock.m13334a("Ins OFD order placed");
       m13517a("Confirmed");
       m13539o();
     default:
   }
 }
コード例 #2
0
 public void onClick(View view) {
   switch (view.getId()) {
     case R.id.kp_button_cancel:
       this.f10989t = true;
       m14514h();
     case R.id.button_retry_cancel:
       if (this.f10993x) {
         Localytics.tagEvent("Cancelled booking_Cancel clicked");
         m14500a("cancel");
         return;
       }
       this.f10989t = true;
       this.f10979j.onBackPressed();
     case R.id.button_retry:
       if (Utils.m14909a(this.f10979j.getApplicationContext())) {
         Sherlock.m13334a("Ins KP ride booked");
         if (this.f10993x) {
           Localytics.tagEvent("Cancelled Booking_Retry clicked");
           m14500a("retry");
           return;
         }
         m14513g();
         return;
       }
       m14501a(Constants.CONNECTION_TIME_OUT_HEADER, Constants.NO_NETWORK_TEXT);
     default:
   }
 }
コード例 #3
0
ファイル: FoodMenuActivity.java プロジェクト: cherakkara/iwms
 public void onClick(View view) {
   Sherlock.m13347c("Ins OFD order placed");
   Sherlock.m13334a("Ins OFD order placed");
   this.f9600b.m13545a(this.f9599a);
   this.f9600b.m13522b("Continue");
   this.f9600b.f9642z.dismiss();
 }