sprockets-android
pushbit
12
Visit GitHub RepoUtils

Sprockets for Android Javadoc Maven Central

Extend base components, use widgets, and call utility methods.

Install

    compile 'net.sf.sprockets:sprockets-android:4.0.0'

Ensure the Data Binding library is enabled.

    dataBinding {
        enabled true
    }

Set minifyEnabled true for all buildTypes (including debug).

If you are using Espresso and get a version conflict error for jsr305, add an exclude line.

    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.google.code.findbugs', module: 'jsr305'
    })

Notes

minSdkVersion < 21

Many features will work with lower API levels, though you should carefully test them to ensure that no APIs above your minimum level are accessed. Tell the build system to allow higher API levels with the tools:overrideLibrary attribute in AndroidManifest.xml.

<manifest ...>
    <uses-sdk tools:overrideLibrary="net.sf.sprockets"/>
Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT