Code Monkey home page Code Monkey logo

news-feed's Introduction

NewsFeed App

App that display a news feed using data from CBC News API ๐Ÿ“ฐ

Description

The app displays a list of news from the CBC API. Each item in the list has a title, date and picture related to the news story. The app allows filtering news stories by type and checks for internet connection. The app also has offline persistance data. This application was made with an MVVM Architecture, using Kotlin coroutines for making the API Requests to get the news list.

APK

Newsfeed APK

Features

  • Repository and datasource were used as part of the model in the MVVM architechture, as a way to keep the app modularized and easier to maintain
  • Kotlin Coroutines were used to make API requests and to access app database
  • Made use of Viewmodel, Livedata and DataBinding to make interaction with view easier and to retain data
  • Dependency injection was used to help manage dependencies
  • Room was used to save news list in database
  • Made use of Viewmodel, Livedata and DataBinding to make interaction with view easier and to retain data

Screenshots

Built With

  • Kotlin - Programming Language
  • Koin - Dependency Injection Framework
    • Used to help decouple code and to reduce boilerplate code by injecting repositories, database, viewmodel and retrofit interfaces
  • Glide - Image Loading Framework
    • This library was used to load the images from src links obtained from a GET request
  • Retrofit - REST Client Library
    • Retrofit was used as a way to make the GET Request to the API quicker and more efficient
  • Jackson - JSON Parser
    • This parser was used to parse JSON into an objects
  • Room - ORM
    • A persistance library that is used to map objects to database
  • Lottie - Animation Library
    • Animation library used for the app's splashscreen
  • Mockito & JUnit - Test Libraries
    • Libraries used for mocking objects and unit tests

Author

Thais Lins
Thais Lins

news-feed's People

Contributors

thaislins 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.