This solution is based on AtLeap. AtLeap is based on RoboSpice RoboSpice is based on Retrofit, ORMLite, etc
#Features
##Universal Content Provider Android AtLeap allows you configure ER-model using ORMLite POJOs and access SQLite database via ContentProvider as flexible as direct access to database.
- Universal implementation of
android.content.ContentProvider
with SQLite. - Universal implementation of
android.content.ContentProvider
with ORMLite. - Flexible mapping between ContentProvider Uri path and SQL. You can specify SQL for tables part only or specify raw SQL or even specify callback method which build SQL.
- Integration with RoboSpice ORMLite cache persister.
##Navigation drawer
See android.support.v4.widget.DrawerLayout
##Account Authenticator helper classes
They are based on android.accounts.AbstractAccountAuthenticator
#Sample
It is good example of how to integrate RoboSpice, Retrofit, Picasso, ORMLite, AtLeap and some other libraries. This sample show integration with GitHub Api. The authentication is made via oAuth 2.0.
Please do not forget to insert correct GitHub Api oAuth client id and secret into /atleap-sample/src/main/res/values/settings.xml
before running this sample.
#Tests
#Gradle
The releases of Android AtLeap are published in the MavenCentral. You can add dependency in the following way:
compile 'com.blandware.android.atleap:core:+@aar'
If you would like to use snapshots, please add the following code into repositories statement:
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
See changelog.
Android AtLeap licensed under Apache 2.0 license.