mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Set progress bar visible on refresh
This commit is contained in:
parent
959c581b79
commit
9d6d773b33
1 changed files with 1 additions and 0 deletions
|
|
@ -259,6 +259,7 @@ public class NearbyActivity extends NavigationBaseActivity {
|
||||||
|
|
||||||
private void refreshView() {
|
private void refreshView() {
|
||||||
curLatLang = locationManager.getLatestLocation();
|
curLatLang = locationManager.getLatestLocation();
|
||||||
|
progressBar.setVisibility(View.VISIBLE);
|
||||||
nearbyAsyncTask = new NearbyAsyncTask(this);
|
nearbyAsyncTask = new NearbyAsyncTask(this);
|
||||||
nearbyAsyncTask.execute();
|
nearbyAsyncTask.execute();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue