xamarin.forms - Exrin VisualState LifeCycle -


i have properties on visualstate set value on init method on visualstate webapi. when navigate page press return this page init method not called again. how can update visualstate every time page appears if navigate on button press, i'm thinking using on onnavigated method on viewmodel , set visuelstate properties there. should it, or there way?

if want something, every time view appears, use override in viewmodel.

onappearing 

if want run, first time view, use

onnavigated 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -