Load array with Parse data

1

I have a cache problem in my application, because when I enter inside a post it searches for all comments about it and populate array , but when I exit it and enter another, array has not yet been populated with the new comments giving an appearance of delay .

    
asked by anonymous 11.08.2015 / 20:20

1 answer

0

This is because you did not load it again when you entered the new post, refresh each time you load a screen to refresh the data. This is not a cache problem.

If you are using a tableView:

TableView.reloadData ()

If you are using a ViewController: link

I hope I have helped.

    
11.08.2015 / 21:51