Giter Site home page Giter Site logo

nomoreapplicationforlibrarymodule's People

Contributors

parksanggwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nomoreapplicationforlibrarymodule's Issues

sdk를 초기화 할 경우

소스 코드에서는 같은 모듈(app module)안에서 Koin을 초기화 하셨는데,
혹시 다른 모듈에서도 초기화가 가능한가요?
예를 들어 제가 ExampleSDK라는 SDK를 작성한 후 A라는 App(A-App이라고 부르겠습니다)에서 ExampleSDK를 사용하려할 때
보통 A-App의 MainApplication에서 ExampleSDK.init(this) 이런 방식으로 초기화를 하는데

class MainApplication : Application(){
override fun onCreate() {
super.onCreate()
ExampleSDK.init(this)
}
}
이런식으로요.

하지만 이렇게 A-App에서 초기화 하지 않고,
ExampleSDK모듈 내부에서 ContentProvider를 사용하여 ExampleSDK를 초기화 할 수 있는 방법이 있나요?
혹시 있다면 예시를 부탁드려도 될까요

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.