Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PlaysRUs
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.pople
PlaysRUs
Commits
8f2abd05
Commit
8f2abd05
authored
Jun 14, 2023
by
sam.pople
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try2
parent
c1cf2e54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
signup.java
PlaysRUs2/app/src/main/java/com/example/playsrus/signup.java
+2
-2
No files found.
PlaysRUs2/app/src/main/java/com/example/playsrus/signup.java
View file @
8f2abd05
...
@@ -28,7 +28,7 @@ public class signup extends AppCompatActivity {
...
@@ -28,7 +28,7 @@ public class signup extends AppCompatActivity {
setContentView
(
R
.
layout
.
signup
);
setContentView
(
R
.
layout
.
signup
);
EditText
signupusername
=
(
EditText
)
findViewById
(
R
.
id
.
signupusername
);
EditText
signupusername
=
(
EditText
)
findViewById
(
R
.
id
.
signupusername
);
EditText
signuppassword
=
(
EditText
)
findViewById
(
R
.
id
.
signuppassword
);
EditText
signuppassword
=
(
EditText
)
findViewById
(
R
.
id
.
signuppassword
);
EditText
repeatpassword
=
(
EditText
)
findViewById
(
R
.
id
.
repeatpassword
);
EditText
repeat
the
password
=
(
EditText
)
findViewById
(
R
.
id
.
repeatpassword
);
Button
signupsubmit
=
(
Button
)
findViewById
(
R
.
id
.
signupsubmit
);
Button
signupsubmit
=
(
Button
)
findViewById
(
R
.
id
.
signupsubmit
);
Button
signupback
=
(
Button
)
findViewById
(
R
.
id
.
signupback
);
Button
signupback
=
(
Button
)
findViewById
(
R
.
id
.
signupback
);
database
=
new
Database
(
this
);
database
=
new
Database
(
this
);
...
@@ -37,7 +37,7 @@ public class signup extends AppCompatActivity {
...
@@ -37,7 +37,7 @@ public class signup extends AppCompatActivity {
public
void
onClick
(
View
view
)
{
public
void
onClick
(
View
view
)
{
String
username
=
signupusername
.
getText
().
toString
();
String
username
=
signupusername
.
getText
().
toString
();
String
password
=
signuppassword
.
getText
().
toString
();
String
password
=
signuppassword
.
getText
().
toString
();
String
repeat
=
repeatpassword
.
getText
().
toString
();
String
repeat
=
repeat
the
password
.
getText
().
toString
();
if
(
username
.
equals
(
""
)||
password
.
equals
(
""
)||
repeat
.
equals
(
""
))
if
(
username
.
equals
(
""
)||
password
.
equals
(
""
)||
repeat
.
equals
(
""
))
Toast
.
makeText
(
signup
.
this
,
"Username or Password is incorrect. Please try again."
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
signup
.
this
,
"Username or Password is incorrect. Please try again."
,
Toast
.
LENGTH_SHORT
).
show
();
...
...
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