Closed Zhuinden closed 7 years ago
To fix https://github.com/Zhuinden/ExampleGithubClient/issues/1 , if ServiceProvider.get(Context) is added, then InternalContextWrapper can return it via context.getSystemService().
ServiceProvider.get(Context)
InternalContextWrapper
context.getSystemService()
That way, Flow.get() is not necessary for obtaining instance of ServiceProvider.
Flow.get()
Fixed by https://github.com/Zhuinden/flowless/commit/718de58e42e977ec9a1a54d8ed5b72d4f0ca2330
To fix https://github.com/Zhuinden/ExampleGithubClient/issues/1 , if
ServiceProvider.get(Context)
is added, thenInternalContextWrapper
can return it viacontext.getSystemService()
.That way,
Flow.get()
is not necessary for obtaining instance of ServiceProvider.