I have properties on my VisualState that I set their value on the Init method on the VisualState from my WebApi. When I navigate to this page to press back to return to this this page the Init method is not called again. How can I update the VisualState every time the page appears if by navigate on back button press, I'm thinking about using the on OnNavigated method on the viewmodel and set the visuelstate properties from there. Should I do it, or there is another way?
1
There are 1 best solutions below
Related Questions in XAMARIN.FORMS
- Playing local recorded video
- NavbarAnimation.Maui With TabbedPage
- Why does my LINQ query in Xamarin.Forms show less than expected content?
- Not showing Created folder in My App directory MAUI
- IOS Release version showing error "PlatformNotSupported" because of PCLCrypto.SymmetricKeyAlgorithmProvider.GetAlgorithm()
- The type was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built
- Heart shaped image clip - rotate/scale a Geometry object
- Printing with Xam.Plugin.Bluetooth
- Unable to open another app from within Xamarin Forms Android app
- XamlC error XFC0000 : Cannot resolve type "Popup" in my xct:popup xaml file
- .NET MAUI TapGesture Command not working in CollectionView
- Xamarin android Could not receive the push notification on OnMessageReceived while swipe away app
- how to avoid silence while playing audio file in xmarin forms media player
- Net Maui Property FlexLayout.Shrink does not work as expected
- Xamarin android emulate usb PC Keyboard
Related Questions in EXRIN
- Is it possible to navigate to a dynamic page in Exrin
- Exrin Isolates and MasterDetailContainer
- How to implement a visual busy/working indicator in Exrin?
- How to set Exrin TabbedPage tab title?
- How to have TabbedContainer and SingleContainer within the same stack?
- Exrin IMasterDetailContainer IsPresented has no effect, how to hide navigation drawer
- Exrin MasterDetailPage
- Exrin tabbed view: navigation between tabs using NavigationResult
- Tabbed page as detail view of masterdetail page in Exrin
- Exrin VisualState LifeCycle
- Reactive Extensions for nested objects in Exrin VisualState
- Animations with Exrin
- Exrin: What to know when upgrading form 1.X to 2.0?
- Exrin: Binding between ObservableCollection in ModelState and VisualState doesn't seem to be passing NotifyCollectionChanged
- Proper use of operations, models, and services within Exrin
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you want to do something, every time the View appears, you would use this override in the ViewModel.
If you want it to run, only the first time it is view, then you use