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

ParseQueryAdapter can't be used with Spinner above SDK version 19 #95

Open
gwenger opened this issue Nov 18, 2015 · 1 comment
Open

Comments

@gwenger
Copy link

gwenger commented Nov 18, 2015

Above SDK 19, Spinners seem to require a view type count of 1. As far as I can tell, only one view type will ever be returned if paginationEnabled is set to false, so I modified the getViewTypeCount method to return 2 if paginationEnabled is true, and 1 otherwise. This seems to work so far for spinners without the need to override the class elsewhere.

@grantland
Copy link
Contributor

returning 1 from getViewTypeCount() if paginationEnabled is false seems like a good workaround for this.

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