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

API for Realm database #169

Closed
artem-zinnatullin opened this issue Mar 28, 2015 · 15 comments
Closed

API for Realm database #169

artem-zinnatullin opened this issue Mar 28, 2015 · 15 comments
Labels

Comments

@artem-zinnatullin
Copy link
Member

Just an issue, all discussions about Realm support should be done here

@kboyarshinov
Copy link

I finally finished working on update my realm rxjava example to latest Realm version. Fixed threading issues, added multiple subscribers support etc. Probably OnSubscribeRealm class can be used as reference to add Realm support to StorIO.

@artem-zinnatullin
Copy link
Member Author

@kboyarshinov I'll check this tonight!

@dadino
Copy link

dadino commented Oct 16, 2015

How would this work? Realm as database and StorIO as Rx interface to access that database?

@artem-zinnatullin
Copy link
Member Author

@dadino yes! With all StorIO design principles and features. StorIO is conception with implementations for SQLiteDatabase and ContentResolver, actually, we're also thinking about JDBC implementation (we need it for our backends).

@artem-zinnatullin
Copy link
Member Author

@kboyarshinov I've checked your OnSubscribeRealm tonight, it's interesting, though I see few ways to improve it. I think we can discuss StorIORealm this weekends and start work :)

@kboyarshinov
Copy link

@artem-zinnatullin Cool! I'm in.

@dadino
Copy link

dadino commented Oct 21, 2015

Changelog for 0.84 reports Added support for async queries and transactions.
Could this change the approach @kboyarshinov is using?

@kboyarshinov
Copy link

@dadino It won't change it. They've added ability to execute quieries async in their own scheduler and queue. Sync methods are the same. These changes won't affect my current implementation.

@artem-zinnatullin
Copy link
Member Author

realm/realm-java#1651

@artem-zinnatullin
Copy link
Member Author

@kboyarshinov
Copy link

@artem-zinnatullin interesting, but I'll stick to wait for native support of RxJava in Realm because all solutions including mine do not fit completely with Realm. Probably we should wait for it too in order to support Realm in StorIO properly.

@artem-zinnatullin
Copy link
Member Author

okay, that's fine for me :)

ср, 18 нояб. 2015 г. в 18:51, Kirill Boyarshinov notifications@github.com:

@artem-zinnatullin https://github.com/artem-zinnatullin interesting,
but I'll stick to wait for native support of RxJava in Realm because all
solutions including mine do not fit completely with Realm. Probably we
should wait for it too in order to support Realm in StorIO properly.


Reply to this email directly or view it on GitHub
#169 (comment)
.

@artem_zin

@artem-zinnatullin
Copy link
Member Author

realm/realm-java#1710

@kboyarshinov
Copy link

@artem-zinnatullin finally 😄

@artem-zinnatullin
Copy link
Member Author

So, let's close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants