You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ifpaginationEnabled
is set to false, so I modified thegetViewTypeCount
method to return 2 ifpaginationEnabled
is true, and 1 otherwise. This seems to work so far for spinners without the need to override the class elsewhere.The text was updated successfully, but these errors were encountered: