nomoreapplicationforlibrarymodule's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.