Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hds
flexin
android-app
Commits
b03b312c
Commit
b03b312c
authored
Dec 19, 2017
by
Nastuzzi Samy
Browse files
No Ginger information management
parent
1b7223f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/fr/utc/simde/jessy/QRCodeReaderActivity.java
View file @
b03b312c
...
...
@@ -11,6 +11,7 @@ import android.support.v7.app.AlertDialog;
import
android.util.Log
;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.widget.LinearLayout
;
import
android.widget.ListView
;
import
android.widget.TextView
;
import
android.widget.Toast
;
...
...
@@ -602,10 +603,8 @@ public class QRCodeReaderActivity extends BaseActivity implements ZXingScannerVi
seanceText
.
setText
(
reservationResponse
.
getSeance
());
priceText
.
setText
(
reservationResponse
.
getType
());
if
(
gingerResponse
==
null
)
{
adultText
.
setVisibility
(
View
.
GONE
);
contributerText
.
setVisibility
(
View
.
GONE
);
}
if
(
gingerResponse
==
null
)
((
LinearLayout
)
keyView
.
findViewById
(
R
.
id
.
more_info
)).
setVisibility
(
View
.
GONE
);
else
{
if
(
gingerResponse
.
getIs_adulte
())
adultText
.
setText
(
getString
(
R
.
string
.
yes
));
...
...
app/src/main/res/layout/dialog_reservation_info.xml
View file @
b03b312c
...
...
@@ -65,6 +65,7 @@
</LinearLayout>
<LinearLayout
android:id=
"@+id/more_info"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
...
...
Write
Preview
Supports
Markdown
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