Hey there, if you want to store data locally in your Android application in a clean and scalable way, this article may be of your interest.

MVVM Architecture : MVVM has been around for a while now. MVVM separates your view (Activities and Fragments) from your business/data logic. The following diagram may help you understand this in an easy yet concise way.

MVVM Architecture

Room Persistence Library : Room Library is a better, more advanced version of Android’s SQLite library. It makes it easier to work with SQLite Database in your app, decreasing the amount of boilerplate code and verifying SQL queries…

This article aims to help you implement and work with REST APIs and call them in a scalable way to make an Android app.

First things first, what is an API?

Basic function of API

API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app to send an instant message, or check the weather on your phone, you’re using an API. For example, when you open a weather-app, the app connects to the internet and sends a request to a server. The server then retrieves that…

This article deals with implementing one of the most widely used navigation patterns in android app development : sliding views, which is extremely beginner friendly . So, let’s get started!

Image Source : Undraw

We will use Android’s ViewPager to achieve this.

View Pager : ViewPager is a widget that allows the user to swipe left or right to see an entirely new screen. In a sense, it’s just a nicer way to show the user multiple tabs. It also has the ability to dynamically add and remove pages (or tabs) at anytime.

You may add the view pager to the main view (…

sanket sinha

Android App developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store