I have multiple fields in a section of my page such as amount, tax, Gross Total. I am getting data from api and binding the data from code behind (NOT using MVVM). Sometimes values are binding correct and sometimes incorrect values are binding to it. I am unable to understand exactly what is the problem. Values from api are always correct i have tested on postman.
Code -
XAML-
Code Behind-
Total.Text = result.Total.ToString();
Correct value of total is suppose - 8500/-
sometimes it is correct displayed as 8500/- but sometimes it displays 6500/-, sometimes 7500/-.
Can anybody suggest any solution.
Thank you.