Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Simmitive_Chris_Crook
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris.crook
Simmitive_Chris_Crook
Commits
3a8cf41a
Commit
3a8cf41a
authored
Apr 24, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> bigboi V (The Final Frontier)
parent
167907f9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
165 additions
and
3 deletions
+165
-3
BookingDetails.java
...ava/com/example/summative_chris_crook/BookingDetails.java
+157
-0
MainBookingPage.java
...va/com/example/summative_chris_crook/MainBookingPage.java
+1
-1
activity_booking_details.xml
app/src/main/res/layout/activity_booking_details.xml
+5
-0
activity_main_shop_page.xml
app/src/main/res/layout/activity_main_shop_page.xml
+2
-2
No files found.
app/src/main/java/com/example/summative_chris_crook/BookingDetails.java
View file @
3a8cf41a
This diff is collapsed.
Click to expand it.
app/src/main/java/com/example/summative_chris_crook/MainBookingPage.java
View file @
3a8cf41a
...
...
@@ -175,7 +175,7 @@ public class MainBookingPage extends AppCompatActivity {
String
[]
passeddata
=
temp
.
split
(
"&"
);
if
(
passeddata
[
0
].
equals
(
magicwords
[
Integer
.
parseInt
(
passeddata
[
4
])]))
{
// verifies load successful
//load successful
Toast
.
makeText
(
getApplicationContext
(),
"Load Successful"
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(getApplicationContext(), "Load Successful", Toast.LENGTH_LONG).show();
}
else
{
//load failed
Toast
.
makeText
(
getApplicationContext
(),
"Load Failed"
,
Toast
.
LENGTH_LONG
).
show
();
...
...
app/src/main/res/layout/activity_booking_details.xml
View file @
3a8cf41a
...
...
@@ -61,5 +61,10 @@
android:ems=
"10"
android:inputType=
"textPersonName"
android:text=
"Name"
/>
<TextView
android:id=
"@+id/textView38"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_main_shop_page.xml
View file @
3a8cf41a
...
...
@@ -378,7 +378,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"tocart"
android:text=
"
Button
"
/>
android:text=
"
Cart
"
/>
<Button
android:id=
"@+id/button100"
...
...
@@ -386,7 +386,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"tobooking"
android:text=
"
Button
"
/>
android:text=
"
Shop
"
/>
</LinearLayout>
</LinearLayout>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment