public class

BaseActivityListener

extends Object
implements ActivityListener
java.lang.Object
   ↳ com.facebook.common.activitylistener.BaseActivityListener

Summary

[Expand]
Inherited Constants
From interface com.facebook.common.activitylistener.ActivityListener
Public Constructors
BaseActivityListener()
Public Methods
int getPriority()
Listeners are fired in order of priority.
void onActivityCreate(Activity activity)
Called by the Activity base class after the Activity's onActivityCreate method has run.
void onDestroy(Activity activity)
Called by the Activity base class from the onDestroy() method.
void onPause(Activity activity)
Called by the Activity base class from the onPause() method.
void onResume(Activity activity)
Called by the Activity base class from the onResume() method.
void onStart(Activity activity)
Called by the Activity base class from the onStart() method.
void onStop(Activity activity)
Called by the Activity base class from the onStop() method.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.common.activitylistener.ActivityListener

Public Constructors

public BaseActivityListener ()

Public Methods

public int getPriority ()

Listeners are fired in order of priority. Listeners with higher priority are fired first.

Returns
  • priority level

public void onActivityCreate (Activity activity)

Called by the Activity base class after the Activity's onActivityCreate method has run.

Parameters
activity the activity

public void onDestroy (Activity activity)

Called by the Activity base class from the onDestroy() method.

Parameters
activity the activity

public void onPause (Activity activity)

Called by the Activity base class from the onPause() method.

Parameters
activity the activity

public void onResume (Activity activity)

Called by the Activity base class from the onResume() method.

Parameters
activity the activity

public void onStart (Activity activity)

Called by the Activity base class from the onStart() method.

Parameters
activity the activity

public void onStop (Activity activity)

Called by the Activity base class from the onStop() method.

Parameters
activity the activity