Post

Replies

Boosts

Views

Activity

Comment on UITableView refresh issue
that did it!!!! thank you so much, I'v been scratching my head with this for 2 days. One more question (if allowed) is there other way or best way to refresh a table view without the use of UIRefreshControl or a listener? I've also added handleRefresh inside viewDidAppear and viewWillAppear, this duplicates the first batch of docs I get from Firebase. Thank you again!!!
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Comment on UITableView refresh issue
Hello, here is a print out example of one of the post: GLIMPSEINFO..["glimpseCaption": diving!, "profileImageUrl": https://firebasestorage.goo000000.com:443/v0/b/APPNAME00000.appspot.com/o/profileImages%...., "currentCity": Miami,FL, "timestamp": 1632796611, "age": 48, "firstName": Eduardo, "glimpseImageUrl": https://firebasestorage.goo000000.com:443/v0/b/APPNAME00000.appspot.com/o/glimpse%2FYzWhJlzYLkhzQXxxxxxxqffMNmw1%2FDA73DFD..... I use reloadData() inside the for loop because if I don't, the table view does not load the data. It has to be done after fetching the data from Firebase. Regarding glimpse.removeAll(), if I pull down to refresh the data, I'm downloading the info again and if there are any changes I need to make sure the array and firebase have the same data.
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21