When going between screens, function calls seem to ramp up

We have an app, this app has multiple screens, which can be navigated through with the navigation bar.

The problem we currently have is that when you switch between screens in test mode, the custom function calls seem to ramp up.

So the first time loading the user screen, 1 call to the custom function is made. After that you go to the feedback screen, you go back to the user screen, 2 calls are made instead of 1. Now go to the feedback screen again and go back to the user screen, 3 calls are made instead of 1.

We think that this is the reason our app gets slower the longer you use it. Is there an obvious reason that could be the cause of this problem?

1
11 replies