/PostBas

List of posts, comments, user details based on DummyJson API

Primary LanguageKotlin

PostBase

This is a basic Android application that shows posts and their details, user comments on posts and user profiles, based on MVVM architecture.

I used DummyJson API for building this application.

App Gif

App Screenshots

Home Post Details User Details
Fist 3 3
Home Dark Mode Post Details Dark Mode User Details Dark Mode
4 5 3

Tech stack

  • ✅ MVVM with Clean Architecture
  • Kotlin Flow - In coroutines, a flow is a type that can emit multiple values sequentially, as opposed to suspend functions that return only a single value.
  • Coroutines - A concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
  • Navigation Component - Handle everything needed for in-app navigation. asynchronous tasks for optimal execution.
  • Safe-Args - For passing data between destinations
  • Dagger-Hilt - A dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.
  • ViewModel - Easily schedule asynchronous tasks for optimal execution.
  • Retrofit- Retrofit is a REST client for Java/ Kotlin and Android by Square inc under Apache 2.0 license. Its a simple network library that is used for network transactions. By using this library we can seamlessly capture JSON response from web service/web API.
  • OkHttp - Doing HTTP efficiently makes your stuff load faster and saves bandwidth.
  • Coil - An image loading library for Android backed by Kotlin Coroutines
  • View Binding - a feature that allows you to more easily write code that interacts with views.
  • Lifecycle - As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle.