[android-developers] Re: How to destroy an activity immediately?
So what? Why do you need it to go straight to onDestroy? Or rather, I
should ask, why do you THINK you need it to go
straight to onDestroy()? For I doubt your need is genuine.
On Dec 10, 10:12 pm, Kenny Chang <eric-...@163.com> wrote:
> I try to call finish() in an activity in order to destroy the activity
> to free resources.
> But the Logcat shows it doesn't work immediately to call "onDestroy"
> instead of calling "onPause" and after a few seconds "onDestroy" is
> called.
> What I want is destory and finish the activity just after I call
> finish(). But the problem is that when I press "Back" button or call
> finish(), it doesn't free bitmap resources and destroy the activity
> immediately.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home