mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Remove swipe to refresh
This commit is contained in:
parent
123c4adbfd
commit
c140d3c34a
2 changed files with 0 additions and 18 deletions
|
|
@ -70,7 +70,6 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
|
|||
private NearbyMapFragment nearbyMapFragment;
|
||||
private static final String TAG_RETAINED_FRAGMENT = "RetainedFragment";
|
||||
|
||||
@BindView(R.id.swipe_container) SwipeRefreshLayout swipeLayout;
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
|
@ -81,13 +80,6 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
|
|||
|
||||
initBottomSheetBehaviour();
|
||||
initDrawer();
|
||||
swipeLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
|
||||
@Override
|
||||
public void onRefresh() {
|
||||
lockNearbyView(false);
|
||||
refreshView(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void resumeFragment() {
|
||||
|
|
@ -357,7 +349,6 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp
|
|||
setListFragment();
|
||||
|
||||
hideProgressBar();
|
||||
swipeLayout.setRefreshing(false);
|
||||
}
|
||||
|
||||
private void lockNearbyView(boolean lock) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue