Support for RxActionBarActivity?
Do you have any plan to support ActionBarActivity inside of rxandroid-framework? RxAndroid supports support-v4, but not appcompat-v7 ;)
Base classes are not a scalable solution for a library. We will be favoring composition everywhere. On Mar 3, 2015 11:49 PM, "Changyeop Kim" [email protected] wrote:
Do you have any plan to support ActionBarActivity inside of rxandroid-framework? RxAndroid supports support-v4, but not appcompat-v7 ;)
— Reply to this email directly or view it on GitHub https://github.com/ReactiveX/RxAndroid/issues/144.
Right. Extending base class is bad idea for library architecture. (although it sometimes could be a very convenient solution ;)) It was a question about existing components and missing ones.
I believe that rxandroid-framework was built to solve a classic android problem. Background task and Android lifecycle easily conflicts.
How can we solve this mismatch with pure RxAndroid? Is there any suggested way?
@nectarine Take a look at LifecycleObservable.
It's just that current classes in rx-android-framework seem to encourage to go with inheritance.
If composition is to be favored, then what are the goals of rx-android-framework? Or will it be reworked?
The other base classes have been removed from future releases. This also requires a dependency on appcompat which we cannot do. The "framework" module was also removed for future relases.