mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-17 04:00:48 +01:00
fixed cursor loader NPE
This commit is contained in:
parent
51fa7afafb
commit
0734f9f0dd
@ -241,7 +241,11 @@ public class ObjectCursorLoader<T> extends FixedAsyncTaskLoader<List<T>> {
|
||||
writer.println(mSortOrder);
|
||||
writer.print(prefix);
|
||||
writer.print("mObjects=");
|
||||
writer.println(mObjects.getCursor());
|
||||
if (mObjects != null) {
|
||||
writer.println(mObjects.getCursor());
|
||||
} else {
|
||||
writer.println("null");
|
||||
}
|
||||
writer.print(prefix);
|
||||
writer.print("mContentChanged=");
|
||||
writer.println(LoaderAccessor.isContentChanged(this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user