/android-gif-example

Gif RecyclerView in MVVM using Dagger 2 Hilt + Retrofit 2 + Moshi + Kotlin Coroutines + Glide 4 with JUnit and Espresso tests written in Kotlin + Kotlin DSL!

Primary LanguageKotlinApache License 2.0Apache-2.0

Android RecyclerView Gif Example in Kotlin

License Build Twitter Follow

Gif RecyclerView MVVM Grid Example using Dagger 2 Hilt, Retrofit 2, Moshi, Kotlin Coroutines, Junit, Espresso and Robolectric tests!

Build

Build the APK:

gradlew assembleDebug

Install the APK:

gradlew installDebug

Test

Use -Pci to run tests against http://localhost:8080 instead of https://g.tenor.com.

Run Junit Unit Tests:

gradlew testDebug

Run Espresso Instrumentation Tests:

gradlew connectedDebugAndroidTest

Report

Generate Dex Method Count Report:

gradlew countDebugDexMethods

Generate License Report:

gradlew licenseDebugReport

Generate Lint Report:

gradlew lintDebug

License

Copyright (C) 2017 Jared Burrows

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

   https://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.