Coder Social home page Coder Social logo

trendify's Introduction

Trendify

First of all, a few screenshots:

Repository Details!
Repository Details
Repository List Developers List
Repository List Developers List

What is this?

Trendify : An app that lists trending Github Repos and Developers. It is based on MVVM Architecture.

Dependencies

  • Android Lifecycle components
  • Glide for image loading
  • Recyclerview for view rendering
  • Retrofit and GSON for JSON parsing
  • CircleImageView to show avatar

Supported devices

The app supports every device with a SDK level of at least 21 (Android Android 5.0 Lollipop+).

Quick walkthrough

The app is divided into 6 Units

  • adapters
  • fragments
  • models
  • repositories
  • viewmodels
  • views

Adapters

  • DevRecyclerViewAdapter : Handles the RecyclerView adapter for Developers list
  • RepoRecyclerViewAdapter: Handles the same for Repositories list

Fragments

  • DevelopersFragment : Acts as View for the Developers list
  • RepoFragment: Handles the same for Repositories list

Models

  • Developers : POJO that is used in Retrofit as well as RecyclerView for Developers List
  • Repositories: POJO that is used in Retrofit as well as Recyclerview for Repositories List

Repositores

  • DevRepository: Android lifecycle component which fetches data from the API for Developers List
  • RepoRepository: Does the same thing for Repositories List
  • RestClient: Initializes and provdies instance for Retrofit
  • RestService: Defines endpoints of the API URL

Viewmodels

  • DevViewModel: Acts as a bridge between View (Activity) and Repository for Developers List
  • RepoViewModel: Does the same thing for Repositories list

Views

  • MainActivity: Initializes both the fragments and helps switch between them
  • RepoDetailsActivity: On clicking a Repository item, this activity opens up showing details of the repo

trendify's People

Contributors

jashasweejena avatar

Watchers

James Cloos avatar  avatar

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.