-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 1.0 alpha branch #46
Conversation
[WIP] Reimagining how subscribing observers works
Clean up tests and bump version to 1.0.0-SNAPSHOT
* Move rxgroups-processor to separate project, DRY multi-module dependencies * renamen package to processor, fix spacing * rxgroups-android tests need to depend on processor * Switch line limit back to 100, update gradle to 3.5 * get checkstyle to work with gradle 3.5
… for rx-processor (#38) * Have rxgroups-processor upload build artifact Use variable for repo urls * Make ObseravbleGroup#resubscribe public for generated code. Remove deprecated use of Observable#create * Use getter/setter with JavaDoc * fix checkstyle * Add back javadoc quiet mode * Use subclass to control visability
* Make mulitiple observer support more clear * fix checkystyle * Consistently use the term observableTag for user facing code, and observerTag where necessary internally * Add test for multiple observers, cancelAndRemoveAllWithTag * Update all tests to reflect the use of observerTag instead of null in 1:1 case * remove extra space * Fix javadocs * Remove cancelling by observableTag * remove unused observableTag code * fix another typo
* Add tagged observer to allow for using a non-auto generated observer tag in exceptional circumstances * Support auto resubcription with tagged observer * add tests
* Add AutoTag, safeIntialization, and NonResubscribingTag * revert gradle change * Fix some comments * Change to NonResubscribable * fix test * propogate cancel and remove all change to lifecyclemanager * remove duplicated method * fix test name * Cache missing constructors, add super class initialization support change some access fix some more * Make GroupLifecycleManager properly shadow methods in ObservableGroup * disable check style for mock generated code * reduce chance of concurrent modification exception * Add supression comment filter * Add filecontentsholder to have checkstyle actually read turn off comments * remove duplicated remove code * Add AnnotationProcessor code gen tests * use config build tools version * fix no checkstyle check * add missing new lines * Change version to 1.0.0-alpha1 * Prevent null tag collisions by resorting to NonResubscribingTag, if getTag returns null * add test for custom tagging * eliminate double map lookup
* Migrate to RxJava2 for Observables cleanup * update tests and sample for rxjava2 * update travis * Fix test checkstyle * fix line alignment * Fix some documentation
Some other thoughts before 1.0:
|
Can you publish it somewhere? It's currently very inconvenient to test. Would be very happy! |
@meierjan 1.0.0-alpha2 has been uploaded. Again, this is a pretty rough version of what a full 1.0.0 release would look like, so use with caution. |
1.0-alpha has worked internally for a few months now
Currently it only has support for Observable types -- no Completable, Flowable, Single, etc yet, which I think would be necessary for a solid 1.0 release.
Seems a little premature to call it
1.0.0-alpha
but seems important to bump the major version as this is very much a breaking change.#34
@felipecsl @elihart