mercredi 27 juillet 2016

If condition for XML Parser condition

This condition is true then why its showing toast for

if(objBean.getId().equalsIgnoreCase("4") && objBean.getTitle().equalsIgnoreCase("2")
                                && objBean.getDesc().equalsIgnoreCase("0") && objBean.getPubDate().equalsIgnoreCase("F"))
                        {
                            Toast.makeText(A.this, "true", Toast.LENGTH_LONG).show();

                        }

then why its showing toast for this below

 {
       Toast.makeText(A.this, "out", Toast.LENGTH_LONG).show();
              }

see the image below for more clearity- enter image description here

Aucun commentaire:

Enregistrer un commentaire