# FrontBackSwitchDetect-master **Repository Path**: qqhu/FrontBackSwitchDetect-master ## Basic Information - **Project Name**: FrontBackSwitchDetect-master - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-10-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FrontBackSwitchDetect 介绍了两种方式来检测Android app前后台切换的状态,两种方式分别是注册ActivityLifeCycleCallback和检测当前进程是否处于前台的方式。 功能的实现是基于Android生命周期方法,有利于加强对Android生命周期的理解。 博客地址:http://blog.csdn.net/goodlixueyong/article/details/50543627