Git Product home page Git Product logo

Comments (5)

liqianjiang avatar liqianjiang commented on May 3, 2024

为什么要在Splash执行耗时任务,这本身就不合理阿

from alpha.

JsonChao avatar JsonChao commented on May 3, 2024

SplashActivity一般可以利用它去做延迟初始化,可以异步的模块处理初始化在Application中就全都已经完成了

from alpha.

mrme2014 avatar mrme2014 commented on May 3, 2024

application#oncreate 中初始化的。怎么确保在进SplashActivity页面时,必须的几个SDK已经初始化完成了呢?

from alpha.

YummyLau avatar YummyLau commented on May 3, 2024

application#oncreate 中初始化的。怎么确保在进SplashActivity页面时,必须的几个SDK已经初始化完成了呢?

只能自己调整等待逻辑。

from alpha.

YummyLau avatar YummyLau commented on May 3, 2024

application#oncreate 中初始化的。怎么确保在进SplashActivity页面时,必须的几个SDK已经初始化完成了呢?

只能自己调整等待逻辑。
邮件回复失败。 Anchor 用的是 遍历整个依赖树,然后对需要等待的节点进行保存。 由于application#onCreate是阻塞的,可以借助 Thread.sleep(10) 来循环查询

from alpha.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.