Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TheCodeMonks/NYTimes-App
π½ A Simple Demonstration of the New York Times App π± using Jsoup web crawler with MVVM Architecture π₯
https://github.com/TheCodeMonks/NYTimes-App
android android-application android-architecture android-development coroutines hacktoberfest jetpack-android jetpack-datastore jetpack-navigation jsoup-android kotlin kotlin-android livedata material-design material-ui mvvm-android recyclerview room-persistence-library viewmodel webscraping
Last synced: 2 months ago
JSON representation
π½ A Simple Demonstration of the New York Times App π± using Jsoup web crawler with MVVM Architecture π₯
- Host: GitHub
- URL: https://github.com/TheCodeMonks/NYTimes-App
- Owner: TheCodeMonks
- License: mit
- Created: 2020-07-11T23:32:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-13T11:13:20.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T20:06:02.078Z (2 months ago)
- Topics: android, android-application, android-architecture, android-development, coroutines, hacktoberfest, jetpack-android, jetpack-datastore, jetpack-navigation, jsoup-android, kotlin, kotlin-android, livedata, material-design, material-ui, mvvm-android, recyclerview, room-persistence-library, viewmodel, webscraping
- Language: Kotlin
- Homepage:
- Size: 20.2 MB
- Stars: 516
- Watchers: 14
- Forks: 60
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- Awesome-Android-Open-Source-Projects - NYTimes-App
- awesome-android-kotlin-apps - NYTimes-App
- jimsghstars - TheCodeMonks/NYTimes-App - π½ A Simple Demonstration of the New York Times App π± using Jsoup web crawler with MVVM Architecture π₯ (Kotlin)
README
![GitHub Cards Preview](https://github.com/TheCodeMonks/TechBytes/blob/master/screenshots/nytimes_card.jpg?raw=true)
# π NY Times
**NY Times** is an Minimal News π Android application built to describe the use of JSoup with Modern Android development tools. *Made with love β€οΈ by [Spikeysanju](https://github.com/Spikeysanju)****Try latest NY Times app apk from below π***
[![NY Times](https://img.shields.io/badge/NYTimesπ-APK-black.svg?style=for-the-badge&logo=android)](https://github.com/TheCodeMonks/NYTimes-App/releases/download/v1.4.3/nytimes.apk)
## Built With π
- [Kotlin](https://kotlinlang.org/) - First class and official programming language for Android development.
- [JSoup](https://jsoup.org/) - Open source Java HTML parser, with the best of HTML5 DOM methods and CSS selectors, for easy data extraction.
- [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) - For asynchronous and more..
- [Android Architecture Components](https://developer.android.com/topic/libraries/architecture) - Collection of libraries that help you design robust, testable, and maintainable apps.
- [Flow](https://kotlinlang.org/docs/reference/coroutines/flow.html) - A flow is an asynchronous version of a Sequence, a type of collection whose values are lazily produced.
- [Jetpack DataStore](https://developer.android.com/topic/libraries/architecture/datastore) - Jetpack DataStore is a data storage solution that allows you to store key-value pairs or typed objects with protocol buffers. DataStore uses Kotlin coroutines and Flow to store data asynchronously, consistently, and transactionally
- [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - Data objects that notify views when the underlying database changes.
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores UI-related data that isn't destroyed on UI changes.
- [Room](https://developer.android.com/topic/libraries/architecture/room) - SQLite object mapping library.
- [Jetpack Navigation](https://developer.android.com/guide/navigation) - Navigation refers to the interactions that allow users to navigate across, into, and back out from the different pieces of content within your app
- [Material Components for Android](https://github.com/material-components/material-components-android) - Modular and customizable Material Design UI components for Android.# Package Structure
www.thecodemonks.techbytes # Root Package
.
βββ data # For data handling.
β βββ db # Local Persistence Database. Room (SQLite) database
| β βββ dao # Data Access Object for Room
| | |ββ database # Datbase Instance
|
βββ model # Model classes
|
|
βββ ui # Activity/View layer
β βββ |ββ base # Base Activity
| β βββ adapter # Adapter for RecyclerView
| β βββ viewmodel # Viewmodels for Articles
| β βββ articles # Articles Fragment
| β βββ details # Details Fragment
| β βββ bookmarks # Bookmarks Fragment
|
|
|ββ utils # Utils for URls
## Architecture
This app uses [***MVVM (Model View View-Model)***](https://developer.android.com/jetpack/docs/guide#recommended-app-arch) architecture.![](https://github.com/TheCodeMonks/Notes-App/blob/master/screenshots/ANDROID%20ROOM%20DB%20DIAGRAM.jpg)
## Contribute
If you want to contribute to this library, you're always welcome!
See [Contributing Guidelines](https://github.com/TheCodeMonks/Notzz-App/blob/master/CONTRIBUTION.md).## Contact
Have an project? DM us at πDrop a mail to:- [email protected]
# Donation
If this project help you reduce time to develop, you can give me a cup of coffee :)[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/paypalme2/spikeysanju)
## License
```
MIT LicenseCopyright (c) 2020 TheCodeMonks
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.
```