Skip to content

AppModuleApplication中的Thread.sleep(1000)是否能去除 #146

Description

@zjxckangkang

AppModuleApplication中的以下代码会导致启动速度变慢1秒

@Override
public void onCreate(@NonNull Application app) {
    try {
        Thread.sleep(1000);
    } catch (InterruptedException e) {
        // ignore
    }
    Router.addRouterListener(listener);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions