parse-community / ParseUI-Android

ParseUI contains user interface libraries for building apps with the Parse Android SDK.
Other
592 stars 323 forks source link

ParseQueryAdapter crashed when local datastore is enabled #75

Closed kwinto93 closed 8 years ago

kwinto93 commented 8 years ago

Hello, changes made in commit in file: ParseQueryAdapter and line: 393, causes crash if local datastore is enabled.

I think in this line is missing something like this:

if (!Parse.isLocalDatastoreEnabled())
...

Best regards, Matthew

kwinto93 commented 8 years ago

Please Lukas check is there is the only line where it should be added.

wangmengyan95 commented 8 years ago

@kwinto93 nice catch, I will send a PR and update test to cover this cases.

wangmengyan95 commented 8 years ago

76