All Projects → xiandanin → ActivityManager

xiandanin / ActivityManager

Licence: MIT License
一个管理所有Activity的库,可以任意处关闭任意Activity

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ActivityManager

dflow
A lightweight library for designing and executing workflows in .NET Core
Stars: ✭ 23 (+35.29%)
Mutual labels:  activity
solid
Solid Android components
Stars: ✭ 33 (+94.12%)
Mutual labels:  activity
kaptain
👨‍✈️ multi-module navigation on Android has never been so easier!
Stars: ✭ 24 (+41.18%)
Mutual labels:  activity
pvm-ui
JS based UI for PVM workflow engine.
Stars: ✭ 18 (+5.88%)
Mutual labels:  activity
activity-timer
Activity timer powerup for Trello
Stars: ✭ 28 (+64.71%)
Mutual labels:  activity
intentanimation
animattion between activities
Stars: ✭ 117 (+588.24%)
Mutual labels:  activity
drag-to-close
Android library that provides a view group which allows to finish an activity by dragging a view.
Stars: ✭ 69 (+305.88%)
Mutual labels:  activity
sigma
LVPP sigma-profile database + COSMO-SAC parametrizations
Stars: ✭ 38 (+123.53%)
Mutual labels:  activity
Swoosh
SFML Activity and Segue Mini Library
Stars: ✭ 63 (+270.59%)
Mutual labels:  activity
tsioc
AOP, Ioc container, Boot framework, unit testing framework , activities workflow framework.
Stars: ✭ 15 (-11.76%)
Mutual labels:  activity
RxActivityResults
Android onActivityResult wrapper powered by RxJava
Stars: ✭ 14 (-17.65%)
Mutual labels:  activity
LifeTime
LifeTime app
Stars: ✭ 35 (+105.88%)
Mutual labels:  activity
wp-user-activity
The best way to log activity in WordPress
Stars: ✭ 40 (+135.29%)
Mutual labels:  activity
BindingExtension
Android ViewBinding extension to provide simpler usage in Activity, Fragment and ViewHolder.
Stars: ✭ 26 (+52.94%)
Mutual labels:  activity
TestActiviti1.0
该系统是基于Activiti5工作流引擎采用了SSM+Mysql实现的一个学生请假系统
Stars: ✭ 28 (+64.71%)
Mutual labels:  activity
navigator
Annotation processor that eliminates navigation and Bundle boilerplate
Stars: ✭ 13 (-23.53%)
Mutual labels:  activity
AppListManager
📱 AppListManager (Android Library) makes managing application and activity lists easy.
Stars: ✭ 59 (+247.06%)
Mutual labels:  activity
aw-watcher-jetbrains
This extension allows the open source tracking tool ActivityWatch to keep track of the projects and coding languages you use in jetbrains IDEs.
Stars: ✭ 36 (+111.76%)
Mutual labels:  activity
Flow
Android wrapper to simplify process for start an Activity
Stars: ✭ 54 (+217.65%)
Mutual labels:  activity
ktx
简化Android开发的Kotlin库
Stars: ✭ 39 (+129.41%)
Mutual labels:  activity

ActivityManager

一个管理所有Activity的库,可以在任意处关闭任意Activity

Gradle引入

compile 'com.dyhdyh:activity-manager:1.0.0'

在Application注册

public class ExampleApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        //注册管理器
        ActivityManager.getInstance().register(this);
}

示例

//关闭栈顶Activity
ActivityManager.getInstance().finishTopActivity();

//关闭所有BActivity,CActivity
ActivityManager.getInstance().finishActivity(BActivity.class, CActivity.class);

//保留DActivity,其余全部关闭
ActivityManager.getInstance().finishAllActivityByWhitelist(DActivity.class);

//关闭所有Activity
ActivityManager.getInstance().finishAllActivity();

示例apk

点击下载

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].