KotNews | A Kotlin-powered News App
It is a news tracking application developed with Kotlin. MVVM Clean Architecture has been used, and it includes popular and up-to-date libraries.
The purpose of this repository is to serve as a guide for beginners.
- Clone the repository
- Create a file named
api.properties in the root folder
- Define two constant variables named
API_KEY inside it.
- Get an API key from
Project Folder Structure
|Project Folder Structure
|The folder structure of the project is as shown on the left. The Clean Architecture approach has been used. Below are the explanations and details of the folders.
|This folder generally contains semi-independent classes from the project, project-specific constants, enums, and utilities.
|This folder contains classes where we get, manage, and distribute the data.
|This folder is where we manage dependency injection.
|This folder is where we can access data from a single repository and manage our use-cases
|This folder is where we manage our UI components. We manage many components such as Activities, Fragments, ViewModels, and Adapters in this folder.
This class extends the
Application class and is annotated with the
class App: Application()
In this project, a modular architecture is designed using Clean Architecture and MVVM approaches to make the development and maintenance of the application easier. Clean Architecture ensures that each layer of the application is independent of each other and responsible for a specific task.