java - How to get the subtraction result of two EditText in third EditText for Android? -
i'm new android programming. while making program looking program auto fill subtraction result of 2 edittext
widgets in third edittext
, without button. please me find solution.
int firstvalue=firsttext.gettext.tostring(); int secondvalue=secondtext.gettext.tostring(); int answer=firstvalue - secondvalue; thirdvalue.settext(answer);
hope works. if problem occour tell me
Comments
Post a Comment