I had a problem that seems pretty much like the one you have and found 
answer here
http://stackoverflow.com/questions/5824267/did-honeycomb-sdk-break-gridview-backward-compatibility/11433431#11433431

I used something like this (got it from the code above ).
((AdapterView<ListAdapter>) listHandle).setAdapter( ....


In my case a type cast fixed the situation

On Friday, March 25, 2011 11:41:05 AM UTC-4, Kostya Vasilyev wrote:
>
> 25.03.2011 18:14, pawpaw17 пишет:
> > Why is this method limited to API 11 when it used
> > to work fine with the older APIs ???
>
> This used to be a method of AdapterView:
>
>
> http://developer.android.com/reference/android/widget/AdapterView.html#setAdapter(T)
>
> and it should still be there, with the same method signature, because 
> "AbsListView extends AdapterView<ListAdapter>" (ListAdapter == "T" above).
>
> The new method is an override, specifically a member of ListView, 
> probably needed because ListView now needs to do some new, special thing 
> before calling the base class.
>
> Have no idea why it was done this way (rather than some kind of new, 
> behind-the-scenes "protected onAdapterChanged").
>
> -- 
>
> Kostya Vasilyev -- http://kmansoft.wordpress.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

Reply via email to