You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a page is popped out of the navigation stack (via pop() or setRoot(page) methods), the instance of the page is deleted and one another is created when pushing it in the navigation stack. As a consequence, attributes of pages are reinitialised and that’s not the wanted behavior.
The text was updated successfully, but these errors were encountered:
A simple fix exists:
Every data that needs to be kept between two views of a page has to be saved in an injectable provider. This injectable then must be accessed to get the needed page info.
For example, for QRCodeGenerationPage: create an injectable which as an AES from which access to recreate the QRCode to display to another user.
When a page is popped out of the navigation stack (via
pop()
orsetRoot(page)
methods), the instance of the page is deleted and one another is created when pushing it in the navigation stack. As a consequence, attributes of pages are reinitialised and that’s not the wanted behavior.The text was updated successfully, but these errors were encountered: