Open smichel17 opened 8 years ago
This doesn't seem difficult. I'll look in to it.
It's really easy. See https://developer.android.com/training/swipe/index.html
Summary:
<android.support.v4.widget.SwipeRefreshLayout
mySwipeRefreshLayout.setOnRefreshListener(
new SwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {
Log.i(LOG_TAG, "onRefresh called from SwipeRefreshLayout");
// This method performs the actual data-refresh operation.
// The method calls setRefreshing(false) when it's finished.
myUpdateOperation();
}
}
);
I'm not going to implement it right now, but only because it's a dropbox-only feature, so I want to implement #590 first so we don't need to duplicate xml.