MohsenNooriArdestani / Newsgram

This is a starter template for building modern Android apps using best practices such as MVVM + Clean Architecture, Jetpack Compose, Coroutine, Kotlin Flows, Hilt, and Retrofit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newsgram

Android AndroidAPI Kotlin JetpackCompose


This is an Android app template that showcases the best practices for building modern Android apps. It uses the following technologies:

  • MVVM + Clean Architecture pattern for clean, scalable, and maintainable architecture
  • Jetpack Compose for building modern and declarative UIs
  • Coroutine and Kotlin Flows for efficient and concise asynchronous programming
  • Hilt for dependency injection and simpler app structure
  • Paging library for efficient pagination of data
  • Retrofit for making API requests
  • Coil for image loading and caching
  • Lottie for beautiful animations
  • Dark Theme for better user experience in low-light environments

Architecture

This app template follows the MVVM + Clean Architecture pattern, which separates the app into different layers with clear responsibilities:

  • Presentation layer: responsible for UI and user interactions using Jetpack Compose
  • Domain layer: contains business logic and use cases
  • Data layer: handles data retrieval and storage using Retrofit and Room, respectively

Clean Architecture

Clean + MVVM

Libraries

This app template uses the following libraries:

  • Jetpack Compose: modern UI toolkit for building native Android UIs
  • Coroutine: lightweight concurrency framework for asynchronous programming
  • Kotlin Flows: reactive streams for handling asynchronous data flows
  • Hilt: dependency injection library for Android
  • Paging: library for efficient pagination of data
  • Retrofit: type-safe HTTP client for Android and Java
  • Coil: image loading and caching library
  • Lottie: library for beautiful animations

Getting Started

  • To use this app template, follow these steps:
  • Clone or download the repository.
  • Open the project in Android Studio.
  • Build and run the app.

Contributing

Contributions are welcome! If you have any suggestions or find any issues, please feel free to create issues or pull requests.

About

This is a starter template for building modern Android apps using best practices such as MVVM + Clean Architecture, Jetpack Compose, Coroutine, Kotlin Flows, Hilt, and Retrofit.


Languages

Language:Kotlin 100.0%