I am curious about memory leaks with Android, and whether I am doing
things correctly (I am fairly new to all of this).

Here is my scenario:

1 Activity called Main.

onCreate calls setContentView with an xml layout.  Various events are
setup (mainly buttons).

One of the button events calls setContentView to load another xml
layout.  Various events are then setup for this view.

This can go back and forth between 3 different views.

My question, are there any destroy events that I need to call, or is
all of this handled automatically?

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to