Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230087

Objects left in memory

$
0
0

Hi dear!

I had built an app Twiter like where Im using firebase documents do store data. In this app, I have a form where I get the data from database and show to the user.

I have some special codes to deal with pagination and scrool. So, when user leaves the form and get in again, looks like the data are keeping in memory what are giving me some problems.
I had closed all subscribes and observables and also forces all objects to be null.

How can I force ionic to create a new instance of my form and objects whenever user get in the form?

**I tried the navigation with setRoot and push (push is the better option for me)

Thanks!


Viewing all articles
Browse latest Browse all 230087

Trending Articles



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