mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 07:22:06 +03:00
do not ignore ignoreEtags
This commit is contained in:
parent
8eda104078
commit
7840fb4db0
3 changed files with 4 additions and 4 deletions
|
@ -276,7 +276,7 @@ public class FileDisplayActivity extends HookActivity
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
createMinFragments(savedInstanceState);
|
createMinFragments(savedInstanceState);
|
||||||
refreshList(true);
|
refreshList(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
setIndeterminate(mSyncInProgress);
|
setIndeterminate(mSyncInProgress);
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class ExtendedListFragment extends Fragment
|
||||||
private ArrayList<Integer> mTops;
|
private ArrayList<Integer> mTops;
|
||||||
private int mHeightCell = 0;
|
private int mHeightCell = 0;
|
||||||
|
|
||||||
private SwipeRefreshLayout.OnRefreshListener mOnRefreshListener = null;
|
private OnEnforceableRefreshListener mOnRefreshListener = null;
|
||||||
|
|
||||||
protected AbsListView mCurrentListView;
|
protected AbsListView mCurrentListView;
|
||||||
private ExtendedListView mListView;
|
private ExtendedListView mListView;
|
||||||
|
@ -862,7 +862,7 @@ public class ExtendedListFragment extends Fragment
|
||||||
mRefreshEmptyLayout.setRefreshing(false);
|
mRefreshEmptyLayout.setRefreshing(false);
|
||||||
|
|
||||||
if (mOnRefreshListener != null) {
|
if (mOnRefreshListener != null) {
|
||||||
mOnRefreshListener.onRefresh();
|
mOnRefreshListener.onRefresh(ignoreETag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1676,7 +1676,7 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
||||||
mRefreshGridLayout.setRefreshing(false);
|
mRefreshGridLayout.setRefreshing(false);
|
||||||
mRefreshEmptyLayout.setRefreshing(false);
|
mRefreshEmptyLayout.setRefreshing(false);
|
||||||
} else {
|
} else {
|
||||||
super.onRefresh();
|
super.onRefresh(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue