Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Skidn disease App
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Skin disease
Skidn disease App
Commits
9b1fa957
Commit
9b1fa957
authored
Oct 06, 2021
by
Kavindu Randika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search deasis final
parent
55badf2c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/src/main/java/com/project/skidn_disease_app/DeasisShowAdapter.java
...java/com/project/skidn_disease_app/DeasisShowAdapter.java
+2
-0
app/src/main/java/com/project/skidn_disease_app/SearchFragment.java
...in/java/com/project/skidn_disease_app/SearchFragment.java
+2
-2
No files found.
app/src/main/java/com/project/skidn_disease_app/DeasisShowAdapter.java
View file @
9b1fa957
...
...
@@ -49,6 +49,8 @@ public class DeasisShowAdapter extends RecyclerView.Adapter<DeasisShowAdapter.Vi
List
<
String
>
list
=
new
ArrayList
<
String
>();
name
=
(
String
)
obj
.
get
(
"name"
);
if
(
name
.
contains
(
"Symptoms"
))
name
=
name
.
replace
(
"Symptoms"
,
""
);
description
=
(
String
)
obj
.
get
(
"description"
);
System
.
out
.
println
(
"name "
+
name
);
...
...
app/src/main/java/com/project/skidn_disease_app/SearchFragment.java
View file @
9b1fa957
...
...
@@ -228,7 +228,7 @@ public class SearchFragment extends Fragment implements QuantityListner{
}
else
{
showAlert
(
"Please Checkout Some symptoms"
,
"Warining"
);
Toast
.
makeText
(
this
.
getContext
(),
"Please Checkout Some symptoms"
,
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(this.getContext(),"Please Checkout Some symptoms",Toast.LENGTH_LONG).show();
}
}
catch
(
JSONException
e
)
{
...
...
@@ -425,6 +425,6 @@ public class SearchFragment extends Fragment implements QuantityListner{
@Override
public
void
onQunatiyChange
(
ArrayList
<
String
>
arrayList
)
{
this
.
responce_data
=
arrayList
;
Toast
.
makeText
(
this
.
getContext
(),
arrayList
.
toString
(),
Toast
.
LENGTH_LONG
).
show
();
//
Toast.makeText(this.getContext(),arrayList.toString(),Toast.LENGTH_LONG).show();
}
}
\ No newline at end of file
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