Wrapper around ActiveAndroid which introduces reactive queries with SQLBrite from Square (https://github.com/square/sqlbrite). You can use it as alternative for Android loaders!
RxSelect.from(MyEntity.class).where(...).execute().subscribe(myEntitiesList -> ...);
Grab via Gradle:
repositories {
mavenCentral()
}
compile 'com.github.vicpinm:activeandroidrx:3.1.5'
- Getting started
- Creating your database model
- Saving to the database
- Querying the database
- Type serializers
- Using the content provider
- Schema migrations
- Pre-populated-databases
- Running the Test Suite
Copyright (C) 2010 Michael Pardo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes, unit tests are welcomed and appreciated but will be thoroughly reviewed and discussed.
You can run the test suite by following the instructions on the Running the Test Suite Wiki page.
Víctor Manuel Pineda Murcia | http://vicpinm.github.io/ActiveAndroidRx/
Original Project: Michael Pardo | www.michaelpardo.com | www.activeandroid.com