Activity

Page 1 2 3 4 5 6

public void postponeEnterTransition() empty body source
public void startPostponedEnterTransition() empty body source
public void setEnterSharedElementCallback(SharedElementCallback callback) empty body source
public void setExitSharedElementCallback(SharedElementCallback callback) empty body source
public void recreate() source
public void registerActivityLifecycleCallbacks(Application.ActivityLifecycleCallbacks callback) source
public void unregisterActivityLifecycleCallbacks(Application.ActivityLifecycleCallbacks callback) source
public Object getSystemService(String name) source

Content

public <T extends View> T findViewById(int id) source
public final <T extends View> T requireViewById(int id) source
public void setContentView(int layoutResID) source
public android.content.SharedPreferences getPreferences(int mode) source

the preferences of this activity alone: the shared ones named by its class

public void setContentView(View view) source
public void setContentView(View view, ViewGroup.LayoutParams params) source
public void addContentView(View view, ViewGroup.LayoutParams params) source

The runtime's lifecycle steps

public final void performCreate(Bundle icicle) source
public final void performStart() source
public final void performRestoreInstanceState(Bundle state) source
public final void performPostCreate(Bundle icicle) source
public final void performResume() source
public final void makeVisible() source

The window shown, after the first resume, as Android's makeVisible does.

public final void performPause() source
public final void performSaveInstanceState(Bundle outState) source
public final void performStop() source
public final void performDestroy() source
public final void performNewIntent(Intent intent) source
public final void performActivityResult(int requestCode, int resultCode, Intent data) source
public final void setChangingConfigurations(boolean changing) source
public final int resultCode() source
public final boolean stoppedState() source

whether the activity is stopped (not started, or stopped since): the activity manager's view of it

public final Intent resultData() source
public final ActivityInfo activityInfo() source

The lifecycle the app overrides

protected void onCreate(Bundle savedInstanceState) source
public void onCreate(Bundle savedInstanceState, android.os.PersistableBundle persistentState) source
protected void onRestoreInstanceState(Bundle savedInstanceState) empty body source
public void onRestoreInstanceState(Bundle savedInstanceState, android.os.PersistableBundle persistentState) source
protected void onPostCreate(Bundle savedInstanceState) source
public void onPostCreate(Bundle savedInstanceState, android.os.PersistableBundle persistentState) source
protected void onStart() source
protected void onRestart() source
public void onStateNotSaved() empty body source
protected void onResume() source

Page 1 2 3 4 5 6


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.