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
c2ac6dc3
Commit
c2ac6dc3
authored
Apr 09, 2021
by
chris.crook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
> added more admin functionality
parent
74242472
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AdminRegister.java
...java/com/example/summative_chris_crook/AdminRegister.java
+4
-4
No files found.
app/src/main/java/com/example/summative_chris_crook/AdminRegister.java
View file @
c2ac6dc3
...
...
@@ -90,10 +90,10 @@ public class AdminRegister extends AppCompatActivity {
public
void
createadmin
(
View
view
){
//
String
name
=
((
EditText
)
findViewById
(
R
.
id
.
Name_input
)).
getText
().
toString
();
String
user
=
((
EditText
)
findViewById
(
R
.
id
.
Username_input
)).
getText
().
toString
();
String
pass
=
((
EditText
)
findViewById
(
R
.
id
.
Password_input
)).
getText
().
toString
();
String
conf
=
((
EditText
)
findViewById
(
R
.
id
.
Password_confirm
)).
getText
().
toString
();
String
name
=
((
EditText
)
findViewById
(
R
.
id
.
name_input2
)).
getText
().
toString
();
String
user
=
((
EditText
)
findViewById
(
R
.
id
.
username_input2
)).
getText
().
toString
();
String
pass
=
((
EditText
)
findViewById
(
R
.
id
.
password_input2
)).
getText
().
toString
();
String
conf
=
((
EditText
)
findViewById
(
R
.
id
.
password_confirm2
)).
getText
().
toString
();
if
(
name
.
equals
(
""
)){
Toast
.
makeText
(
getApplicationContext
(),
"Enter a Name"
,
Toast
.
LENGTH_SHORT
).
show
();
return
;
...
...
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