Commit 5d7b7034 authored by Shinryu's avatar Shinryu

Added method definition for accessing category EditText contents

parent df3c2863
...@@ -51,6 +51,7 @@ public class AddEditProfile extends Activity { ...@@ -51,6 +51,7 @@ public class AddEditProfile extends Activity {
EditText price = (EditText) findViewById (R.id.txtPrice); EditText price = (EditText) findViewById (R.id.txtPrice);
EditText des = (EditText) findViewById (R.id.txtDescription); EditText des = (EditText) findViewById (R.id.txtDescription);
EditText tag = (EditText) findViewById (R.id.txtIngredients); EditText tag = (EditText) findViewById (R.id.txtIngredients);
EditText cat = (EditText) findViewById (R.id.txtCategory);
Toast.makeText (this, "Item is added to menu.", Toast.LENGTH_SHORT).show(); Toast.makeText (this, "Item is added to menu.", Toast.LENGTH_SHORT).show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment