How to refresh customListRoute

61 views
Skip to first unread message

Josip Lukacevic

unread,
Apr 16, 2017, 4:52:48 PM4/16/17
to InboxSDK
Hello!
I have made custom list route for showing some selected gmail threads from database. 
When I make changes on that threads list, I can't refresh that list automatically, but I need to click on "reload messages" button manually to see the changes. 
I tried with goto() method, but routeId is the same, so nothing happens.
Is there a way to do that automatically (something like refresh() method in ListRouteView) ?

Thank you!

er...@streak.com

unread,
Apr 25, 2017, 4:18:13 PM4/25/17
to InboxSDK
Hi Josip,

Currently we don't have a way to do this. You are correct in that if we added one it would probably be the same as the other list routes (where your callback receives a ListRouteView and calls refresh()) — how important is it for you to refresh the list while someone is looking at it? Leaving the list and revisiting it should give you new results, but if that's not appropriate for the way your extension works then it's helpful for our own planning to know that. We may add this in the future if the demand is high enough.

Thanks!

Александр Ермолин

unread,
May 16, 2018, 8:36:11 AM5/16/18
to InboxSDK
I was surprised to see that simple "refresh" method is available for ListRouteView but is not available for custom routes. Really my extension has to make some selection in custom threads rows to remove them from here. User expected view behavior is visible removing, of course... But I cant do so... 
Reply all
Reply to author
Forward
0 new messages