Skip to content
Show activity tasks, and lifecycles of activities, fragments in you app! 一款实时显示你的App中的当前全部Activity栈、Activity和Fragment的工具!
Java
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
activitytaskview
app Fix bug. Sep 18, 2019
gradle/wrapper update gradle Sep 16, 2019
screenshots add screenshots Apr 18, 2017
singleinstancedemo Fix bug. Sep 18, 2019
.gitignore initial import, base function OK Apr 16, 2017
LICENSE
README.md Update README.md Sep 20, 2019
build.gradle update gradle Sep 16, 2019
classpath
gradle.properties Set testOnly false. Sep 18, 2019
gradlew fix overlay permission for android version >= 23 Aug 15, 2017
gradlew.bat initial import, base function OK Apr 16, 2017
settings.gradle add single instance demo module Apr 17, 2018

README.md

ActivityTaskView

AcitivtyTask.png

Introduction

中文文档

New UI and Function

ActivityTask.gif

  • Show fragment tree of an activity
  • Show lifecycle text behind Activity/Fragment
  • Float window auto attach to border
  • Tap float window to show tiny icon, and tap to show again

Define short name

Name Short name
Activity A…
Fragment F…
SaveInstanceState SIS

Use in demo(show different launch mode)

standard mode

standard.gif

singletop mode

singleTop.gif

singletask mode

singleTask.gif

singleinstance mode

singleInstance.gif

dialog style activity

dialogStyle.gif

Usage

  1. Install ActivityTaskView release apk, open it and grant window permission

https://github.com/rome753/ActivityTaskView/releases

  1. Add ActivityTaskHelper.java file to you project

https://github.com/rome753/ActivityTaskView/blob/master/app/src/main/java/cc/rome753/demo/ActivityTaskHelper.java

  1. Use ActivityTaskHelper in your application's onCreate()
    @Override
    public void onCreate() {
        super.onCreate();

        if(BuildConfig.DEBUG) {
            new ActivityTaskHelper().init(this);
        }
    }
  1. Launch your app, and lifecycles will be showed in the float window.

License

Apache License, Version 2.0
http://www.apache.org/licenses/

You can’t perform that action at this time.