Hey Guys,

I've read through the Activity, Activity Lifecycle and Application
Fundamentals articles and I'm still having some issues working through
managing a few components of my app.

Basically, I have two related activities: a view with a number in the
middle, and another activity with a grid of numbers that fill the
screen. Basically, when you press the number on view1, it switches to
view2 (startActivityForResult) and then when the user clicks one of
the grid numbers, returns the number.

Here's the thing, it's calling create() and onDestroy() every time my
Grid pops up. This is making the application feel a little sluggish if
you're trying to change the number really fast. Basically, I don't
understand how I can make the NumberGrid guy Pause instead of Destory,
then do onResume instead of onCreate. (I call finish() in my click
listener, but that's the only way I can figure out how to make it
return) I imagine poping up the cached view would be WAY snappier than
creating it every time.

Am I completely missing what I'm supposed to be doing here?

Thanks for you help!

Evan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to