Hello everyone.) Probably everyone knows the VKontakte application. Everyone also knows that there news (and messages, etc.) are updated by sinking down .. Attention, the question: how can this be done? Thank you in advance.

  • I did not know, but I saw how GMail and Google products do it. Now almost all applications of this type update the view like this. - user31688

1 answer 1

Such an action is called pullToRefresh , there are several implementations, for example SwipeRefreshLayout from Support.v4 - official.