Further Discussion of AdapterView and Adapter Request Issue # 1944

by Dianne Hackborn » Tue, 10 Feb 2009 18:17:08 GMT


Sponsored Links
 Dialog is a good point, but the lifecycle would need to be managed by the
dialog, not by ListView.  At the ListView level there just isn't enough
information to manage it correctly -- that is, the management that would be
added for Dialog would be fairly different that what we currently have for
Activity.






-- 
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.  All such questions should be posted on public
forums, where I and others can see and answer them.

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



Further Discussion of AdapterView and Adapter Request Issue # 1944

by Jonathan Herriott » Tue, 10 Feb 2009 18:41:35 GMT


 When you say there isn't enough information, I'm assuming you mean
that the views don't know when they are being released from memory.
In that case, the two options would be to have views death-aware or to
have the Dialog manage its lifecycle.  I'm sure the choice really boil
down to performance/memory usage, and in that case, the Dialog
managing its lifecycle is probably the best option.  If you agree,
I'll file a new bug on the Dialog.




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


Sponsored Links


Further Discussion of AdapterView and Adapter Request Issue # 1944

by Dianne Hackborn » Tue, 10 Feb 2009 21:22:39 GMT


 eah I think this would belong in Dialog.

On Tue, Feb 10, 2009 at 10:34 AM, Jonathan Herriott <herri...@gmail.com>wrote:



--
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. All such questions should be posted on public
forums, where I and others can see and answer them.

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



Other Threads

1. How to check for existence of 3rd party library during installation?

 Hi,

If my app is dependent on a 3rd party library, say chartdroid <http://code.google.com/p/chartdroid/>. Is there a way to check this dependency during installation time and redirect the user to install the dependency before continuing to install my app. I ask this because while installing one Google app (I think Google translate) it asked me to install TTS before continuing to install. Thank in Advance. -- Best regards cx0der --

2. Get count of email messages in Email app

I'd like to get access to the data stored in the default Email app.
I'd like to find out what accounts are associated with the App, and
for each account, what folders are associated with the account, and
for each folder how many emails are in that folder. I need this
information on 2.1 and 1.5.
I see the AccountManager in 2.1 can give me some of the accounts
configured, but in the Email app you can also add accounts which don't
show up in the AccountManager. How do you get access to the accounts
configured in the Email app.
I'd like to be able to programmatically deleted emails in the users
folders. Are the emails stored in a content Provider? If so whats the
URI.
Any help would be much appreciated.

-- 

3. button focus

4. Live Folders Access

5. Update Droid for testing

6. Simple App crashes on onRestart()

7. Development Mac -> Vmware Fusion -> Ubuntu 10.04: Samsung Vibrant not Recognized by VmFusion