Skip to content

antoineFrau/useless-knowledge

Repository files navigation

Pay your knowledge

Android project - Get data from API, and cache it on json file.

Explain how does it work

This project using HandlerThread, ViewPager, HTTP Request, Checking Internet status.

At the first launch of the app it will try to get data from API, and save it on a JSON cache file. If the user is not connected to internet we will check if there is cached data. If there is no data, we notify user, else we show him cached data.

When we detect Internet status is up, we notify user with snackbar and tell him to refresh the list.

The API HTTP request is done in an HandlerThread and it will notify UIThread when finish.

Author

Antoine Frau - Master 1 Full-Stack Developer.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Android app project, showing knowledge fun fact.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages