Code Monkey home page Code Monkey logo

blizzard's Introduction

Hi there

I'm Rafsanjani! a software engineer who is passionate about making great and maintainable software and helping others to do same through knowledge sharing.

  • ๐Ÿ’ฌ Ask me anything about mobile and backend development
  • ๐Ÿ˜„ Passionate about clean and maintainable code
  • โšก Fun fact: I still think PES is better than FIFA

๐ŸŒŽ Find me around the web :

  • ๐Ÿ’ผ Connecting and sharing professional updates on LinkedIn
  • ๐ŸŒ Updating my personal website with examples of my work on ForeverRafs.com
  • ๐Ÿฆ Tweeting about the fragmentation of Android, beauty of C# and the love of Kotlin on Twitter

Profile Stats

blizzard's People

Contributors

joshuaivie avatar lokaimoma avatar mend-bolt-for-github[bot] avatar rafsanjani avatar tonyez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

blizzard's Issues

Restore app state

Fragments do not restore their state when user navigates, e, a navigation such as home ->favorites->home will completely restart the whole app flow and load weather for current city instead of retaining weather info for whatever city was searched.

Save only favorite searches to the database

As it stands now, all searches are saved to the database and displayed in the favorites tab. Add a favorite button to the weather info card so that user's can favorite particular searches or unfavorite them if they have previously been added to favorites.

Handle error state when getting weather info

The errors from the methods fetching the weather are getting consumed completely in the viewmodel without any reflection on the UI, leaving it in a loading state forever. One way of doing this is to use a Kotlin sealed class to represent the state of the app.

Increase animation speed

The animation in the home fragment is too slow. UI animations should typically be between 100 - 200ms so that they don't distract user experience. @lokaimoma

Time from api not accurate.

The time from the api isn't accurate and doesn't update when a query made earlier is been made again. Any ideas on how to solve this.
Screenshot_20200805-121956 Togo is one hour behind Morocco, but the time shown is wrong.

Setting up one view model and permission handling

Currently the way data is loaded into the views are quiet similar.
Is it a good idea to set up one view model to deal with populating
data into the views

And for the location permission, the permission is asked right after
the app is installed, i don't know if it is ideal to do it that way,
if no, then how best and when should the permission be
asked for.

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.