G
G
geron2016-02-11 13:35:01
Android
geron, 2016-02-11 13:35:01

How to add ProgressBar to ListView?

There is a screen with a ListView, the data in the ListView is loaded in parts, from a Web service. When the end of the ListView is reached, the ProgressBar(progressBar.setVisibility(View.VISIBLE)) is launched, then the service is started, which loads the following data, as in the VK client. After the data is loaded, the progressBar becomes View.GONE and the new data is shown to the user.
Can you please tell me how this can be done correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lomikman, 2016-02-11
@lomikman

SwipeRefreshLayout
https://www.bignerdranch.com/blog/implementing-swi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question