Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #287

Closed
revic1993 opened this issue Jan 21, 2016 · 2 comments
Closed

Suggestion #287

revic1993 opened this issue Jan 21, 2016 · 2 comments

Comments

@revic1993
Copy link

Hi,
I just started using greenDAO and found out that when database is empty and loadAll() is called, it returns an EmptyList. As it is an abstractlist no elements can be added later. This can be painful for some network related app devs as they usually fetch data for first time from the network or when db is cleared. As it is returning List it can be confusing so do return null for checking purpose.

Thanks.

@revic1993 revic1993 changed the title Returning EmptyList which can't be altered later on loadAll() Suggestion Jan 21, 2016
@yishai-glide
Copy link

#288

@greenrobot
Copy link
Owner

cfe1834

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants