开发者

How to deal with CursorAdapter and switching Contacts API?

开发者 https://www.devze.com 2023-01-23 10:46 出处:网络
Does anyone tried to use C开发者_如何学GoursorAdapter with old and new api? Do you have some code examples of such solutions?

Does anyone tried to use C开发者_如何学GoursorAdapter with old and new api?

Do you have some code examples of such solutions?


Does anyone tried to use ContactAdapter with old and new api?

There is no ContactAdapter class in the Android SDK, so I am uncertain what you are referring to here.

Do you have some code examples of such solutions?

Here is an example that shows using conditional class loading to populate a SimpleCursorAdapter based for either the old or new API depending on the version of Android that you are running.

0

精彩评论

暂无评论...
验证码 换一张
取 消