# TopActivity
**Repository Path**: kinglyu/TopActivity
## Basic Information
- **Project Name**: TopActivity
- **Description**: 展示当前app所处的最顶activity,用于调试陌生应用。可快速定位位置。
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-24
- **Last Updated**: 2020-12-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# TopActivity
### 展示当前app所处的最顶activity
#### GIF展示:

### 引入:
Step 1.Add it in your root build.gradle at the end of repositories:
```Java
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```Java
dependencies {
compile 'com.github.FantasyEngineer:TopActivity:V3.0'
}
```
### 代码使用
```Java
//展示
TopActivity.INSTANCE.show(MainActivity.this);
//消失
TopActivity.INSTANCE.dismiss(MainActivity.this);
```