Commit 9b1fa957 authored by Kavindu Randika's avatar Kavindu Randika

search deasis final

parent 55badf2c
......@@ -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);
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment