Skip to content

Bhanditz/news-app-fragments

 
 

Repository files navigation

Simple NewsApp

GitHub license

A simple News Android application written in Kotlin (YAY!) for demo at Fragments conference

What's the app about?

It's an extremely simple app which uses NewsAPI to show the latest news from Google News. It uses Retrofit 2 library to fetch the news from the NewsAPI and show them on the UI.

Goal of this app

The main goal of this sample app is show how to build robust and less crashable Android apps with Kotlin . It also shows the concise nature of Kotlin language and it's interoperability with Java. All this while having fun with Android.

Steps to run:

  • Go to NewsAPI and generate an API key (It's only 2 steps!)
  • Put the API key at the bottom of the gradle.properties NEWS_API_KEY = "YOUR_API_KEY"
  • Run the app
  • Enjoyyyyy 🎉

Prerequisites

  • Android Studio 3.0 Beta 5 (Preferred)
  • Android Device with USB Debugging Enabled

Built With

Contributing

Please read CONTRIBUTING.md for contributions.

Proudly 💪 made in Kotlin

License


The MIT License (MIT)

Copyright (c) 2017 Akshay Chordiya

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Simple News Android app written in 100% Kotlin for demo at Fragments Conference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%