samedi 29 avril 2017

How to use editText().getText() in if else statment in android studio.

Dear all

I am new and student of android studio. I want use editText().getText() in if else statement in my application. Below are the codes and I am not knowing how to use it.
I want to show that
if ((editText().getText() <=18) && (editText().getText() >=34)){
}else if
((editText().getText() <=35) && (editText().getText() >=54)){
}

how to make statement using <=, or && and >= operators.

from Android Authority Forums http://ift.tt/2psb8Iq
via IFTTT

Aucun commentaire:

Enregistrer un commentaire