ActivityTaskView

Introduction: Show activity tasks, and lifecycles of activities, fragments in you app!
More: Author   ReportBugs   
Tags:

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://raw.githubusercontent.com/rome753/ActivityTaskView/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);
         }
     }
    
  2. Launch your app, and lifecycles will be showed in the float window.

License

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

Apps
About Me
Google+: Trinea trinea
GitHub: Trinea