How is Flowable different than Observable in terms of what youβve described?
Since this particular ViewMode is a singleton, Iβm just getting a reference to it rather than instantiating it, so it shouldnβt matter much where that actually happens.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Flowable isn't only backpressure related, it constantly emits a flow when the observe is present.
On attach isn't the best place to initiate the view model, onViewCreated is where it should be moved to.
How is Flowable different than Observable in terms of what youβve described?
Since this particular ViewMode is a singleton, Iβm just getting a reference to it rather than instantiating it, so it shouldnβt matter much where that actually happens.