A
A
Abc Edc2016-05-16 08:52:26
C++ / C#
Abc Edc, 2016-05-16 08:52:26

Why every time the elements on the page are cleared xaml?

I keep all the ViewModels in the IOC, and I reload the pages and leaving the pages on return, a new instance is naturally created and everything is empty there, at first I thought that maybe I also need to keep the pages in the container, but then I noticed that, for example, the ListView remains on the page. despite reloading the page, is it made as a singleton?
The question is where is the problem, in my custom elements and controls, that they are not singletons, or that the page is reloaded every time?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question