Load array with Parse data

Asked

Viewed 45 times

1

I have a cache problem in my application, because when I enter a post it searches all comments related to it and populates the array, however, when I leave the same and enter another, the array has not yet been populated with new comments giving an appearance of delay.

1 answer

0

  • In the viewwillappear I give a data Reload, my problem is that it pulls the data from the previous post array because the server search method is asynchronous.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.