This is a Interview application which made by me in interview task what it do? that will give you the result from Api and also save data in the cache using RoomDb so that we can access it offline.

Overview

Clean-MVVM-App

An Android application built using Clean + MVVM architecture.

Components used in the app.

  • Kotlin - As a programming language.
  • Material You - To make UI.
  • Flow - A suspending function asynchronously returns a single value, but how can we return multiple asynchronously computed values? This is where Kotlin Flows come in.
  • ViewModel - To manage the UI-related data
  • Retrofit - For making network calls.
  • Hilt - For dependency injection.
  • Room database - To cache the response for offline access.

Description

This is a Interview application which made by me in interview task what it do? that will give you the result from api and also save data in the cache using RoomDb so that we can access it offline.

Given Task

Url : https://jsonplaceholder.typicode.com/posts

  1. Use Single Activity and multiple Fragment.
  2. Fetch post from provided url [use retrofit] and store them inside your local database.[use room db.]
  3. Display your local database posts in a list using RecyclerView.
  4. In Your recyclerView layout display only title of the post.
  5. Clicking on a post It should display whole post contents in a separate fragment.
  6. Now Create a accessibility service and display a toast "WhatsApp Launched." , when user open whatsApp. 6a. Optionally You can add a button somewhere in your Activity Layout for accessibility permission.

Architecture

Clean MVVM Architecture

Steps to build the app

  • Clone or Download the zip.
  • Simply import into Android Studio.
  • Build and run the app.

Thank you!

You might also like...
Paimondex App is an Android App that contains super mini wiki for playable characters from Genshin Impact, where you can favorite to save the character

Paimondex App is an Android App that contains super mini wiki for playable characters from Genshin Impact, where you can favorite to save the character. This could also show you the description of the each character with their talents and constellations.

This todolist android app is for task management and it is made using kotlin
This todolist android app is for task management and it is made using kotlin

This new android application named 'TODO-LIST APP' is created by Biswarup Bhattacharjee, student of BTECH, in University of Engineering and Management, Kolkata.

A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take based on the severity.
A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take based on the severity.

COVID-19 Response 🎡 A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take ba

The domain specific programming language D°, which is a result of Fabian Bruckner's PhD.

Data App Programming Language The data app programming language (named D° [spoken dəˈɡrē]) is a work result of the PhD of Fabian Bruckner. It is a dom

NativeScript empowers you to access native platform APIs from JavaScript directly. Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible.
NativeScript empowers you to access native platform APIs from JavaScript directly. Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible.

NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile de

A news application through which you can learn and browse all the news that interests you by choosing the country and type of news with the ability to browse and add some news to your favorites
A news application through which you can learn and browse all the news that interests you by choosing the country and type of news with the ability to browse and add some news to your favorites

MY-NEWS-Android A news application through which you can learn and browse all the news that interests you by choosing the country and type of news wit

RedditNews - A simple application to display the top news from the Reddit API site and save your favorites to a local database.
RedditNews - A simple application to display the top news from the Reddit API site and save your favorites to a local database.

RedditNews - A simple application to display the top news from the Reddit API site and save your favorites to a local database. Arch

PuntoPlato-KMM - An application that was born as a result of a solidarity initiative called Serve one more plate
PuntoPlato-KMM - An application that was born as a result of a solidarity initiative called Serve one more plate

PuntoPlato-KMM - An application that was born as a result of a solidarity initiative called Serve one more plate

App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features
App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features

App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features.

Releases(v1.1)
Owner
Android1500
Passionate about new things.
Android1500
Task Timer - An android app that helps you to keep a track of how much time you spend on each task

Task Timer - An android app that helps you to keep a track of how much time you spend on each task

Hassan Al-Shammari 1 Feb 24, 2022
TMDbHub - Listing movies using the TMDb API. You can filter results, view details, and save them to a collection

TMDb Hub Listing movies using the TMDb API. You can filter results, view details

David Varga 4 Dec 30, 2021
ToDo list is a sample project for save task and complete they. developed with Kotlin , Coroutins and Dagger-Hilt Dependency injection.

ToDo list is a sample project for save task and complete they. developed with Kotlin , Coroutins and Dagger-Hilt Dependency injection.

Seyyed Ali Tabatabaei 8 Dec 28, 2022
You can store all your password, bank details, card details in one place and remember only one master PIN. The application works totally offline.

Keep Password An application where you can store all your password, bank details, card details in one place and remember only one master PIN. The appl

rıdvan 4 Apr 18, 2022
Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyblock less boring.

NotEnoughGoals Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyb

UpFault 0 Dec 26, 2021
Display's information about SpaceX crew members and ships by consuming a rest api and storing the data to display when the user is offline.

Space-X App Display's information about SpaceX crew members(look for ‘Crew’ section in rest api docs) and ships (look for ‘Ships’ section in rest api

krishna chaitanya 2 Apr 8, 2022
A beautiful android Quotes App where you can read and save quotes.

This repository contains source code of a Quotes app, which helps you stay motivated by providing best picked quotes stated by famous personalities. This app uses zen quotes api, for retrieving quotes.

Gourav Khunger 34 Nov 14, 2022
A beautiful android Quotes App where you can read and save quotes.

QuotesApp A beautiful Quotes App where you can read and save quotes. This repository contains source code of a Quotes app, which helps you stay motiva

Gourav Khunger 24 Nov 12, 2021
Make your first Pull Request on Hacktoberfest 2022. Don't forget to spread love and if you like give us a ⭐️

This Repo is Excluded ?? HacktoberFest Starter Project ?? Use this project to make your first contribution to an open source project on GitHub. Practi

null 2 Nov 25, 2022
Make your Pull Request on Hacktoberfest 2022. Don't forget to spread love and if you like give us a ⭐️

HacktoberFest Project Use this project to make your first contribution to an open source project on GitHub. Practice making your first pull request to

null 1 Oct 13, 2022