Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MaxMoneyNewApplication
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Amir Firdaus bin Samsudin
MaxMoneyNewApplication
Commits
35bdcd7b
Commit
35bdcd7b
authored
Dec 18, 2018
by
amirfirdaus2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Change edittext mobile No
parent
0ad58127
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
RegisterActivity.java
...ile/maxmoneynewapplication/Activity/RegisterActivity.java
+3
-1
No files found.
app/src/main/java/com/mobile/maxmoneynewapplication/Activity/RegisterActivity.java
View file @
35bdcd7b
...
@@ -254,6 +254,8 @@ public class RegisterActivity extends AppCompatActivity {
...
@@ -254,6 +254,8 @@ public class RegisterActivity extends AppCompatActivity {
public
void
onClick
(
View
v
)
{
public
void
onClick
(
View
v
)
{
mProgressDialog
.
show
();
mProgressDialog
.
show
();
String
digits
=
spinner_phoneno
.
getSelectedItem
().
toString
().
replaceAll
(
"[^0-9.]"
,
""
);
if
(
editText_fullname
.
getText
().
toString
().
equals
(
""
)
||
editText_email
.
getText
().
toString
().
equals
(
""
)
||
if
(
editText_fullname
.
getText
().
toString
().
equals
(
""
)
||
editText_email
.
getText
().
toString
().
equals
(
""
)
||
editText_mobile
.
getText
().
toString
().
equals
(
""
)
||
editText_mobile
==
null
||
editText_mobile
.
getText
().
toString
().
length
()
<
5
||
editText_idNo
.
getText
().
toString
().
equals
(
""
)
||
editText_mobile
.
getText
().
toString
().
equals
(
""
)
||
editText_mobile
==
null
||
editText_mobile
.
getText
().
toString
().
length
()
<
5
||
editText_idNo
.
getText
().
toString
().
equals
(
""
)
||
editText_address
.
getText
().
toString
().
equals
(
""
)
||
editText_postolcode
.
getText
().
toString
().
equals
(
""
)
||
editText_address
.
getText
().
toString
().
equals
(
""
)
||
editText_postolcode
.
getText
().
toString
().
equals
(
""
)
||
...
@@ -265,7 +267,7 @@ public class RegisterActivity extends AppCompatActivity {
...
@@ -265,7 +267,7 @@ public class RegisterActivity extends AppCompatActivity {
String
accType
=
spinner_accType
.
getSelectedItem
().
toString
();
String
accType
=
spinner_accType
.
getSelectedItem
().
toString
();
String
fullname
=
editText_fullname
.
getText
().
toString
();
String
fullname
=
editText_fullname
.
getText
().
toString
();
String
email
=
editText_email
.
getText
().
toString
();
String
email
=
editText_email
.
getText
().
toString
();
String
mobile
=
editText_mobile
.
getText
().
toString
();
String
mobile
=
"+"
+
digits
+
editText_mobile
.
getText
().
toString
();
String
idType
=
spinner_idType
.
getSelectedItem
().
toString
();
String
idType
=
spinner_idType
.
getSelectedItem
().
toString
();
String
idNo
=
editText_idNo
.
getText
().
toString
();
String
idNo
=
editText_idNo
.
getText
().
toString
();
String
country
=
country_name
;
String
country
=
country_name
;
...
...
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