Coder Social home page Coder Social logo

smogalert's People

Contributors

alecksjohanssen avatar gholadr avatar johnnywhisker avatar

Watchers

 avatar

smogalert's Issues

Fix WeatherFragmentDetail

it needs to support No data. Try again later. Also, dont forget to localize in Vietnamese.

please use the exact same approach as WeatherFragment. Submit a PR for this issue separate from the rest of the issues.

Last 24 Graph

I've noticed a few issues with it:

  1. if latest sample is from 10PM, then the data should start at 10AM
  2. Data average seems wrong, I've just checked the data returned by the server and average for the last 4 hours is 64, yet the graph shows 94
  3. Please remove AQI year 2017
  4. 12PM on the graph shows as 0PM

Improve Weather widget

add logic to handle no data returned from the weather service.
2. run the weather update with AsyncTask (as opposed to android.os.Handler).
3. Run AsyncTask onResume only (as opposed to running the Handler every 60 secs
4. the layout UI still feels weird to me. I think we need to group the 2 elements closer together.

example of an improved UI

screen shot 2016-08-04 at 7 28 07 pm

Inconsistent style for no data

the no data text should be consistent across all fragments. Only update the formatting of the text and use the same text everywhere No data. Try again later.

screenshot_20160816-232850

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.