Closed Zhuinden closed 7 years ago
This came up in:
onPostExecute()
is called after InternalLifecycleIntegration
is already detachedContext.getSystemService()
calling serviceProvider
to see if it exists before onPostCreate()
: https://github.com/Zhuinden/ExampleGithubClient/issues/1The first half should be fixed by https://github.com/Zhuinden/flowless/commit/40ee88d096cb47b6634e55387a53540e76e23f64
The second half should be fixed by https://github.com/Zhuinden/flowless/commit/94faa27cec37535a20a599a60c14e3bf171fa682
....Flow cannot exist before onActivityCreated()
if Flow is installed into the Activity installed by the Fragment.
Welp.
wontfix unless we go back to delegate, in which case services should be separated, in which case there is no point to this lib.
Consider a way to obtain the instances in the context wrapper without relying on the retained fragment.