This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class allows you to listen to when the user is entering the background (i.e. after a home button press, | |
* or opening recent apps etc) and when the user resumes the application from the background. | |
* | |
* @author John McDonnell | |
*/ | |
public class BetterActivityLifecycleCallbacks implements Application.ActivityLifecycleCallbacks { | |
private int mForegroundActivities; |