Skip to content

jimocode/ActivityTaskView

 
 

Repository files navigation

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/

About

Show activity tasks, and lifecycles of activities, fragments in you app!

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Java 100.0%