2

I have implemented pull to refresh functionality in my application. It refreshes the list if I pull it down.

But my requirement is to show auto refreshing list, as user navigates to that screen every time. Means list will refresh automatically as in native Face-book application.

So please help me by any idea or code to achieve this.

4

1 回答 1

0

两个想法:

  1. 您可以使用计时器并让您的应用每隔几分钟刷新一次。
  2. 您可以实现更复杂的东西,使用诸如GCM(谷歌云消息传递)之类的东西,它会通知应用程序有新数据需要刷新。您可能还希望仅在用户打开应用程序时通知他们。
于 2013-09-23T18:28:52.350 回答