mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Avoid NPE
This commit is contained in:
parent
41244ef448
commit
5270ebd629
@ -3304,6 +3304,10 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
||||
}
|
||||
|
||||
public boolean isLoadFinished() {
|
||||
if (mCursorValid == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
boolean loadFinished = true;
|
||||
for (int i = 0; i < mCursorValid.length; i++) {
|
||||
loadFinished &= mCursorValid[i];
|
||||
|
Loading…
Reference in New Issue
Block a user