Commit cb20825a authored by jinny.wilkin's avatar jinny.wilkin

Submission pt2

parent b30b6153
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
...@@ -52,7 +52,7 @@ public class AMND extends AppCompatActivity implements View.OnClickListener{ ...@@ -52,7 +52,7 @@ public class AMND extends AppCompatActivity implements View.OnClickListener{
public void onClick(View v) { public void onClick(View v) {
Intent i; Intent i;
switch (v.getId()) { switch (v.getId()) {
case R.id.show3Button: case R.id.show1Button:
i = new Intent(this, booking_form.class); i = new Intent(this, booking_form.class);
DatabaseHelper.showID = 3; DatabaseHelper.showID = 3;
startActivity(i); startActivity(i);
......
...@@ -52,7 +52,7 @@ public class ANTI extends AppCompatActivity implements View.OnClickListener{ ...@@ -52,7 +52,7 @@ public class ANTI extends AppCompatActivity implements View.OnClickListener{
public void onClick(View v) { public void onClick(View v) {
Intent i; Intent i;
switch (v.getId()) { switch (v.getId()) {
case R.id.show6Button: case R.id.show1Button:
i = new Intent(this, booking_form.class); i = new Intent(this, booking_form.class);
DatabaseHelper.showID = 6; DatabaseHelper.showID = 6;
startActivity(i); startActivity(i);
......
...@@ -54,7 +54,7 @@ public class HAM extends AppCompatActivity implements View.OnClickListener{ ...@@ -54,7 +54,7 @@ public class HAM extends AppCompatActivity implements View.OnClickListener{
public void onClick(View v) { public void onClick(View v) {
Intent i; Intent i;
switch (v.getId()) { switch (v.getId()) {
case R.id.show2Button: case R.id.show1Button:
i = new Intent(this, booking_form.class); i = new Intent(this, booking_form.class);
DatabaseHelper.showID = 2; DatabaseHelper.showID = 2;
startActivity(i); startActivity(i);
......
...@@ -50,7 +50,7 @@ public class OtK extends AppCompatActivity implements View.OnClickListener{ ...@@ -50,7 +50,7 @@ public class OtK extends AppCompatActivity implements View.OnClickListener{
public void onClick(View v) { public void onClick(View v) {
Intent i; Intent i;
switch (v.getId()) { switch (v.getId()) {
case R.id.show4Button: case R.id.show1Button:
i = new Intent(this, booking_form.class); i = new Intent(this, booking_form.class);
DatabaseHelper.showID = 4; DatabaseHelper.showID = 4;
startActivity(i); startActivity(i);
......
...@@ -53,7 +53,7 @@ public class TEMP extends AppCompatActivity implements View.OnClickListener{ ...@@ -53,7 +53,7 @@ public class TEMP extends AppCompatActivity implements View.OnClickListener{
public void onClick(View v) { public void onClick(View v) {
Intent i; Intent i;
switch (v.getId()) { switch (v.getId()) {
case R.id.show5Button: case R.id.show1Button:
i = new Intent(this, booking_form.class); i = new Intent(this, booking_form.class);
DatabaseHelper.showID = 5; DatabaseHelper.showID = 5;
startActivity(i); startActivity(i);
......
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