Mark Wyszomierski wrote:
> @Override
> public int getViewTypeCount() {
> int count = 0;
> if (mHorses.size() > 0 {
> count++;
> }
> if (mCows.size() > 0) {
> count+;
> }
> return count;
> }
Just return 2 from getViewTypeCount().
What do you think you're gaining from your above code?
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Training in NYC: 10-11 April 2010: http://guruloft.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en