Hi
I’m trying to find a way how to handle user input to perform calculations without an “enter” button, and in the same time display results in the same editText fields used by user to enter data.
Let’s say I have 3 editTexts inputs. A, B and C. If I enter data to A and B then C should be automatically calculated. For A and C , B is calculated , and for B and C, A is calculated.
Using editText_TextChanged for all inputs is causing infinite loop (that’s what I think)
Is there any other solution to solve that problem?
Thank you
I’m trying to find a way how to handle user input to perform calculations without an “enter” button, and in the same time display results in the same editText fields used by user to enter data.
Let’s say I have 3 editTexts inputs. A, B and C. If I enter data to A and B then C should be automatically calculated. For A and C , B is calculated , and for B and C, A is calculated.
Using editText_TextChanged for all inputs is causing infinite loop (that’s what I think)
Is there any other solution to solve that problem?
Thank you