alibaba / ARouter

💪 A framework for assisting in the renovation of Android componentization (帮助 Android App 进行组件化改造的路由框架)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It's outrageous, why is it strongly related to the calling order of the code:

quibbler01 opened this issue · comments

It's outrageous, why is it strongly related to the calling order of the code:

first init initialization, then open the log, there is no way to jump.

         ARouter.init(this)

        if (BuildConfig.DEBUG) {
            ARouter.debuggable()
            ARouter.openDebug()
            ARouter.openLog()
        }

but this is ok:

        if (BuildConfig.DEBUG) {
            ARouter.debuggable()
            ARouter.openDebug()
            ARouter.openLog()
        }

        ARouter.init(this)