public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.meat_toppings);
   Intent i = getIntent();
   size = i.getStringExtra("size");
   numVeggieToppings = i.getIntExtra("numVeggieToppings", 0);
   setMeatToppingsView();
   setNextButton();
 }
Ejemplo n.º 2
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   if (requestCode == GET_SESSION) {
     if (resultCode == RESULT_CANCELED) {
       cancel();
     } else {
       int sessionId = data.getIntExtra("sess_id", 0);
       loadContext(sessionId);
     }
   }
 }