diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2012-06-20 00:44:37 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2012-06-20 00:44:37 +0400 |
| commit | e1afe38ef3e4731cdc55d97fdfce281244ad52bf (patch) | |
| tree | 4e23512b006a6d97b4c0d22bfd0c96944ab6180b /src/org/fox/ttrss/offline/OfflineFeedsFragment.java | |
| parent | be0f5fe64a4e2c042c972e6cf884ce4b50a7dc55 (diff) | |
use activity progress indicator
Diffstat (limited to 'src/org/fox/ttrss/offline/OfflineFeedsFragment.java')
| -rw-r--r-- | src/org/fox/ttrss/offline/OfflineFeedsFragment.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/org/fox/ttrss/offline/OfflineFeedsFragment.java b/src/org/fox/ttrss/offline/OfflineFeedsFragment.java index f1eafd20..682fb168 100644 --- a/src/org/fox/ttrss/offline/OfflineFeedsFragment.java +++ b/src/org/fox/ttrss/offline/OfflineFeedsFragment.java @@ -153,21 +153,17 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene }
}
- public void setLoadingStatus(int status, boolean showProgress) {
+ /* public void setLoadingStatus(int status, boolean showProgress) {
if (getView() != null) {
TextView tv = (TextView)getView().findViewById(R.id.loading_message);
if (tv != null) {
tv.setText(status);
}
-
- View pb = getView().findViewById(R.id.loading_progress);
-
- if (pb != null) {
- pb.setVisibility(showProgress ? View.VISIBLE : View.GONE);
- }
}
- }
+
+ getActivity().setProgressBarIndeterminateVisibility(showProgress);
+ } */
private class FeedListAdapter extends SimpleCursorAdapter {
|