Hi,

Is there any way to to listen for activity/application lifecycle
events without having to extend the classes?

Reason for this is we are providing a component that needs to detect
when an activity/application is paused or resumed.  And for
convenience sake we don't want the client to have to notify the
component every time activity lifecycle changes.  If possible we just
want the component to hook into the lifecycle events and be informed
automatically by the android system.

We could make the component extend Activity and let the client extend
the component, but this would be more complicated for the client.  We
want to keep things simple for the client as possible even if it makes
our component more complex.

So is there a way to hook event listeners for lifecycle events?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to