Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Data from Api not binding to custom entry field properly

$
0
0

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.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>