Giter Club home page Giter Club logo

twitchexample's Introduction

TwitchExample

Android example which consumes twitch API and lists twitch's top 50 games.

Everything is 100% Android Native, built on Android Studio 2.0 (with Gradle). This project implementation is based on Model View Presenter (MVP) architecture. CircleCi is used for continuous integration.

Libraries used

  • Retrofit 2.0 for network communication;
  • Moshi for JSON parser;
  • Dagger 2 for dependency injection;
  • Butterknife for View injection;
  • PaperDB for Cache (Offline data);
  • JUnit 4 and Robolectric for Unit Tests;
  • Pull to Refresh (Google's SwipeRefreshLayout - Support Library)

Setup

After cloning this repository, just open Android Studio 2.0 and import the project (File -> New -> Import Project). You need Android SDK 23, Build Tools 23.0.2 and Android Support Library 23.2.0 installed in order to build this project as is.

Run

Just select "App" on Android Studio and Run it. You can also run directly from terminal, just go to path/to/TwitchExample and do a ./gradlew clean assembleDebug to generate a debug apk.

If you want to build and run all unit tests, use ./gradlew clean assembleDebug cleanTest testDebug.

Screen Captures

twitchexample's People

Contributors

carlospontual avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

matrixy

twitchexample's Issues

Gostei do projeto

Gostei do seu projeto cara, é bom pra mim que estou aprendendo a programar em Android agora, vlw por compartilhar!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.