only report null object in feedsfragment when no feeds are presently

loaded
This commit is contained in:
Andrew Dolgov 2011-11-27 12:44:32 +03:00
parent eb140e1366
commit 2b25a9caec

View File

@ -214,8 +214,9 @@ public class FeedsFragment extends Fragment implements OnItemClickListener {
// report invalid object received // report invalid object received
} }
} else { } else {
// report null object received // report null object received, unless we've been awakened from sleep right in the right time
setLoadingStatus(R.string.error_no_data, false); // so that current request failed
if (m_feeds.size() == 0) setLoadingStatus(R.string.error_no_data, false);
} }
return; return;