Back to project page u2020.
The source code is released under:
Apache License
If you think the Android project u2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jakewharton.u2020.ui; /* w w w . ja va2 s . c om*/ import android.app.Activity; import android.app.Application; import android.os.Bundle; /** A "view server" adaptation which automatically hooks itself up to all activities. */ public interface ActivityHierarchyServer extends Application.ActivityLifecycleCallbacks { /** An {@link ActivityHierarchyServer} which does nothing. */ ActivityHierarchyServer NONE = new ActivityHierarchyServer() { @Override public void onActivityCreated(Activity activity, Bundle bundle) {} @Override public void onActivityStarted(Activity activity) {} @Override public void onActivityResumed(Activity activity) {} @Override public void onActivityPaused(Activity activity) {} @Override public void onActivityStopped(Activity activity) {} @Override public void onActivitySaveInstanceState(Activity activity, Bundle bundle) {} @Override public void onActivityDestroyed(Activity activity) {} }; }