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