Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Summative_Sam_Markey
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
sam.markey
Summative_Sam_Markey
Commits
ab77178b
Commit
ab77178b
authored
Apr 29, 2021
by
Sam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit v8
parent
b2c43ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
register.java
...src/main/java/com/example/museumworld/login/register.java
+8
-1
No files found.
app/src/main/java/com/example/museumworld/login/register.java
View file @
ab77178b
...
...
@@ -173,11 +173,18 @@ public class register extends AppCompatActivity implements View.OnClickListener
password_EditText
.
setText
(
""
);
password_EditText2
.
setText
(
""
);
}
else
if
(
response
.
equals
(
"failure"
))
{
}
else
if
(
response
.
equals
(
"special_characters"
)){
snackbarAlert
(
"Please remove special Characters"
,
true
);
}
else
if
(
response
.
equals
(
"failure"
))
{
snackbarAlert
(
"Something Went Wrong!"
,
true
);
}
else
if
(
response
.
equals
(
"username_taken"
))
{
snackbarAlert
(
"Username is already taken!"
,
true
);
}
else
{
snackbarAlert
(
"Something Went Wrong, make sure you have a internet connection!"
,
true
);
}
Log
.
d
(
"response"
,
response
);
},
error
->
Log
.
d
(
"error1"
,
error
.
toString
()))
{
...
...
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