Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How can I force a view to re-render, redraw, rebind?

$
0
0

The reason is because something in the viewmodel changes that requires the entire view to clear its contents and redraw all over.

I cannot use "notifyPropertyChanged" in this instance as it is more sophisticated than that.

I've tried "InvalidateLayout()", "InvalidateMeasure()", "ForceLayout()", "UpdateChildrenLayout()" and nothing works!

I need to be able to say "view.ReRender()" and it just clears everything out and initializes all over again. You would think something like this would be easy!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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