AlertDialog.getListView() missing in 1.1r1 sdk

by Max_well » Sat, 11 Apr 2009 13:42:14 GMT


Sponsored Links
 Hello,

Searching for a way to manipulate the list view of AlertDialog, I come
across the AlertDialog source code(1).
To my surprise, there is a getListView() method defined since mid
december 2008(2), but there is no such method in the 1.1r1 doc or in
the provided sdk.

Is there a reason that the method is not present in the sdk ?

Thanks for the answer.
Max_well

- Checked against the current windows 1.1r1 sdk zip (3).

(1) 
 http://android.git.kernel.org/?p=platform/frameworks/base.git ;a=blob;f=core/java/android/app/AlertDialog.java;hb=HEAD
(2)
 http://android.git.kernel.org/?p=platform/frameworks/base.git ;a=history;f=core/java/android/app/AlertDialog.java;h=021dc2e39f210d1e8c39f2380e83fd986ddf4d54;hb=HEAD
(3) 
 http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.1_r1.zip 
--~--~---------~--~----~------------~-------~--~----~



AlertDialog.getListView() missing in 1.1r1 sdk

by Dianne Hackborn » Sat, 11 Apr 2009 19:51:24 GMT


 There are tons of methods in the framework that are not in the SDK,  I can't
speak specifically to this one, but generally that is done because the
method is not something that will be maintained forever.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


AlertDialog.getListView() missing in 1.1r1 sdk

by Dianne Hackborn » Sat, 11 Apr 2009 19:53:04 GMT


 Oh actually look at this -- you are just looking at a method that was added
after 1.1.  It's nothing more than that.







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Trouble using NPN_PluginThreadAsyncCall and NPN_InvokeDefault to call back the browser from a native thread

Problem solved by paying attention to NPN_RetainObject and
NPN_ReleaseObject calls on Script objects...

Hope the airing of this topic will prove useful to someone somewhere!

J.



> Many thanks - Julian.

2. Getting hold of a resource using generated string

-- 

3. Who are going to attend Google I/O?

4. Nexus One - Geocoder causes IOException - works perfectly with other devices and emulator

5. End of fling within Gallery

6. OOT: id-maemo WTA禄 milie vs nexi e

7. HTC Dream ite