Skip to content

v0.0.7

Compare
Choose a tag to compare
@MichaelJokAr MichaelJokAr released this 10 Nov 08:08
· 41 commits to master since this release
  • 去除强制覆盖重写attachBaseContext方法逻辑。

    • 如果类里原来重写了该方法需要手动加上

      super.attachBaseContext(MultiLanguage.setLocal(newBase));

    • 或者在插件配置里overwriteClass里加上全路径包名后插件覆盖重写

      multiLanguages {
      enable = true
      overwriteClass = ["com.github.jokar.multilanguages.BaseActivity"]
      }