GithubHelp home page GithubHelp logo

agoda-6's Introduction

This is a sample News Reader app that is supposed to display news list and the details. The first page displays news list, when one of the items is clicked, it is supposed to show the detail of the selected news. Unfortunately, the app is full of bugs and it crashes as soon as it is launched. Also, the code is not properly written and there are no unit tests. Can you help to fix all the problems?

Before you start

This project requires the following

  1. Android Studio 2.1
  2. Android SDK 23 or above.
  3. Android SDK build tools 23.0.3 or above.

Screenshots

The screenshot below shows how the app looks like when it is done.

About the project

All the data is coming from the web endpoint. The response contains a list of news items as well as URLs to the pictures associated with each story. - Done

Fix crashes in News List page

Can you help fix all bugs so that it can display news list properly? - Done

Fix crashes in News Detail page

Can you help fix all bugs so that the app can show news detail properly? Also, clicking on "Full Story" button, it should open a browser and display full story in the browser. Done

Basic unit test

Can you help to write unit tests for MediaEntity and NewsEntity? Done

Need to work on following:

Improvements

  1. The main logic is written in MainActivity, which is not a very clean way to construct an app. Can you help to improve it?

  2. The way of fetching and parsing JSON data is not very nice. For example, if one of the name/value is missing, it can cause the app to crash.

  3. The layout is only suitable for phones. Can you create an immersive tablet experience?

Can you help to make it better?

Notes

  1. It is possible that some of the stories do not have images.
  2. It is possible that the link to the full story might not work as it is controlled by New York Times.

agoda-6's People

Contributors

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