GithubHelp home page GithubHelp logo

插件化问题咨询 about easyplug HOT 1 OPEN

czhzero avatar czhzero commented on June 19, 2024
插件化问题咨询

from easyplug.

Comments (1)

goeasyway avatar goeasyway commented on June 19, 2024

Hi,

  1. 第一个问题,Retrofit可以放在Host应用里,插件APK打包时使用provided引用(只起编译作用,不作打包进插件APK中)。调用方式正常,如果不正常向我说一下,我空了也会进行这个测试。

  2. Fragment的创建其实很简单,处理两个问题,一个是如何选择类加载器去创建它的实例,二个是在Fragment的onCreateView之类的方法中能正确使用插件的Context.

  3. 不支持那么多,应为这是一个Demo应用,支持多了代码会相应复杂,增加初学者的难度。(我写的开源Demo的最大目的就是让有兴趣的人更方便的学会),其实学会了最基本的方式,其他的模式只要你会变通一下就会处理了。

from easyplug.

Related Issues (2)

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.