News App is a simple based on API 🗞️ which uses NewsAPI to fetch top news headlines from the API. The main aim of this app is to be a leading example of how to build Modern Android applications for all Android Developers
The codebase focuses 👓 on following key things:
Code structuring, style and comments
Dependency injection
Offline first
Berita Indian API is an API to display many news India like from All News, CNBC News, etc. For the datas was parsed from the RSS feed to JSON type and also Rest API. For the routes, you can see it below.
You will require latest version of Android Studio 1.0 (or newer) to be able to build the app
The idea is to keep the app super simple while demonstrating new libraries and tools which makes it easier to build high quality Android applications.
News App uses libraries and tools used to build Modern Android application, mainly part of Android Jetpack 🚀
- Kotlin first
- Coroutines and Flow first
- Architecture components
- Dagger 2 for dependency injection 🗡
- Retrofit
- Other Android Jetpack components
b37c8ce464114d9484d7b172d94bd8f4
Parameter | Type | Description |
---|---|---|
api_key |
string |
Required. Your API key |
Build the app
Enjoy... 🎉
Please ensure your pull request adheres to the following guidelines:
- Search previous suggestions before making a new one, as yours may be a duplicate.
- Make an individual pull request for each suggestion.
- Check your spelling and grammar.
- Make sure your text editor is set to remove trailing whitespace.
- The pull request and commit should have a useful title.
The News API License (API)
Copyright (c) 2022 Durgesh Mishra
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.