I have and android layout with two edittexts one for Qty and one for rate and a textview for total amount. Now what I want to do is change/update the total amount whenever the user changes the rate or quantity fields.
What is the edittext event I am looking for and can I set it from the layout xml properties like I can set OnClick?
For this you have to set
addTextChangedListener()toeditText. Just as below:Then you have to override this method:
You can use any of this method as you need and change your relevant views text.