Skip to content

chrismuiruriz/android-glide-giphy-example

 
 

Repository files navigation

Giphy Example

License TravisCI OSX Build CircleCI Linux Build AppVeyor Windows Build Coveralls Code Coverage

Giphy RecyclerView Grid Example using Dagger 2, Retrofit 2, RxJava 2 and Butterknife with Junit + Espresso tests

Module(s)

  • burrows-apps-giphy-example - Root module
    • src
      • androidTest - UI Tests
      • main - Source Code
      • test - Unit Tests

Setup Build Environment

Separate Downloads:

Bundled Download(includes all of the above except for Git):

Setup your local.properties

Make sure you have your local.properties file in top level project folder. For the Android-SDK manager.

Windows:

sdk.dir=C\:\\Users\\<user>\\android-sdk

Linux/Mac OSX:

sdk.dir=/Users/<user>/android-sdk

Building and Running (debug)

This project builds with Gradle and the Android Build tools.

Building:

Assemble the .apk:

$ gradlew assembleDebug

Installing:

Assemble and Install the .apk:

$ gradlew installDebug

Running The App:

Assemble, Install and Run the .apk:

$ gradlew runDebug

Testing

Running the Unit Tests (debug):

The Junit/Robolectric tests run on the JVM, no need for emulators or real devices.

$ gradlew testDebug

Running the Instrumentation Tests:

The Espresso instrumentation tests run on the device.

$ gradlew connectedDebugAndroidTest

Reports

Generate Lint Reports (debug):

The Lint plugin generates reports based off the source code.

$ gradlew lintDebug

Generate Jacoco Test Coverage:

The Jacoco plugin generates coverage reports based off the unit tests.

$ gradlew testDebug jacocoDebugReport

Other

Count Dex Methods:

Assemble and Count the Dex Methods the .apk:

$ gradlew countDebugDexMethods

Size of the APK:

Assemble and get the Size of the .apk:

$ gradlew sizeDebugApk

Dependency Updates:

Check for Dependency and Plugin Updates:

$ gradlew dependencyUpdates

About

Android Giphy RecyclerView Grid Example using Glide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.4%
  • Shell 0.6%