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
|
// 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user