only report null object in feedsfragment when no feeds are presently
loaded
This commit is contained in:
parent
eb140e1366
commit
2b25a9caec
@ -214,8 +214,9 @@ public class FeedsFragment extends Fragment implements OnItemClickListener {
|
||||
// report invalid object received
|
||||
}
|
||||
} else {
|
||||
// report null object received
|
||||
setLoadingStatus(R.string.error_no_data, false);
|
||||
// report null object received, unless we've been awakened from sleep right in the right time
|
||||
// so that current request failed
|
||||
if (m_feeds.size() == 0) setLoadingStatus(R.string.error_no_data, false);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user