Giter Site home page Giter Site logo

Comments (9)

xiaojinzi123 avatar xiaojinzi123 commented on May 19, 2024

目前是不支持的。你可以先和我你的场景, 我这边如果觉得你的场景合理。我会在近个版本添加上此功能的

:octocat: From gitme iOS

from component.

guozhiqiang123 avatar guozhiqiang123 commented on May 19, 2024

之前是使用AutoService进行Application生命周期分发的,如果本库能提供这个方法,一是可以不用引用AutoService库,二是效率上可能有所优化。路由框架最大的作用是服务于模块化或者组件化,路由、服务、初始化,这三个功能如果在一个库里面集成,我觉得好处有三:一是整体架构,性能更好;二是减少包体积;三是统一的调用,更加容易上手。

from component.

guozhiqiang123 avatar guozhiqiang123 commented on May 19, 2024

初始化我指的是多个第三方库引用的时候,可以控制初始化顺序还有异步初始等

from component.

xiaojinzi123 avatar xiaojinzi123 commented on May 19, 2024

你说的挺对的。我的库目前提供了生命周期的功能。至于怎么初始化每个模块,同步还是异步和我没关系,顺序也是你自己控制的。路由模块不用说了,现在基本找不出比我这个强大的了。服务这块我暂时没看到你说场景,你只说了 AutoServive 这个库。我一直奉行有需求再考虑做这个功能。所以请你简单说下你多实现的用途。
我会很谨慎的考虑,如果可以,下个版本就提供给你用了

:octocat: From gitme iOS

from component.

guozhiqiang123 avatar guozhiqiang123 commented on May 19, 2024

目前需求就只有一个,分发Application的生命周期,这个文档我没有找到,麻烦贴一下

from component.

guozhiqiang123 avatar guozhiqiang123 commented on May 19, 2024

谢谢了

from component.

xiaojinzi123 avatar xiaojinzi123 commented on May 19, 2024

https://github.com/xiaojinzi123/Component/wiki/%E4%BE%9D%E8%B5%96%E5%92%8C%E9%85%8D%E7%BD%AE#%E9%85%8D%E7%BD%AE%E6%AF%8F%E4%B8%80%E4%B8%AA%E6%A8%A1%E5%9D%97%E7%9A%84-%E6%A8%A1%E5%9D%97application%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F

:octocat: From gitme iOS

from component.

guozhiqiang123 avatar guozhiqiang123 commented on May 19, 2024

谢谢了

from component.

xiaojinzi123 avatar xiaojinzi123 commented on May 19, 2024

这个生命周期功能是可选的,有其他问题在打开就好。谢谢

:octocat: From gitme iOS

from component.

Related Issues (20)

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.