Skip to content
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

Adding RxJava example #1940

Merged
merged 4 commits into from
Dec 17, 2015
Merged

Adding RxJava example #1940

merged 4 commits into from
Dec 17, 2015

Conversation

cmelchior
Copy link
Contributor

Part of #1710
This PR replaces #1870

It adds a new example project showing how Realm can interop with RxJava, especially it highlights some of our current caveats and show work-arounds.

@cmelchior cmelchior mentioned this pull request Dec 14, 2015
12 tasks
@cmelchior
Copy link
Contributor Author

Ready for review:
@realm/java
@donnfelker


# Things to keep in mind

- Observables might have a default `Scheduler` they operate on that is different than the one
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"throw a" -> "throw an"

@cmelchior cmelchior self-assigned this Dec 15, 2015
}
}

productFlavors {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be removed since it's an empty block?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should be removed.

@donnfelker
Copy link
Contributor

This is good. I found it fairly comprehensive and covered some of the gotchas that I was wondering about. Other than the small things mentioned. :shipit:

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
container = (ViewGroup) findViewById(R.id.list);
container.removeAllViews();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless ?

@nhachicha
Copy link
Collaborator

LGTM besides small comments 👍

@emanuelez
Copy link
Contributor

Nice 👍

cmelchior added a commit that referenced this pull request Dec 17, 2015
@cmelchior cmelchior merged commit e7c275b into feature-rxjava Dec 17, 2015
@cmelchior cmelchior removed the Review label Dec 17, 2015
@cmelchior cmelchior deleted the cm/feature-rxjava-example branch December 17, 2015 09:51
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants