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

Listview is not updating according to model

$
0
0

first form contains a listview with image,labels,button and stepper (all are related to products) ,Here i add products and its quantity and when i click ok in toolbaritems a popup page comes which also contains a lsitview of all selected products and its quantity .

In popup page i cant edit the quantity . It reflects in the model corresponding to it also, i have used OnPropertyChanged() also.
So when i close the popup , i want that changed quantity to be displayed corresponding to that product. Its not happening.

If goback and come same form , the quantity is changed , But at the moment i close popup page it wont reflect in the listview.

How can i do that ? Is there any way to refresh that listview or page.
I have used MessagingCenter , List<> is updating .. i have set that list as ItemSource of Listview ,But its not displaying.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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