Browsing category:


Data Persistence in Android

Persisting data is the act of saving some data to the phone. There are 5 ways to persist data on Android. 1. Persisting Data using SavedInstanceState This allows you to save key value pairs, to store the state of one of your views. Usually used to save the state of things during things like app […]

Android Lifecycle : All you need to know + Example

Android kills low priority apps  you haven’t used in a while, thanks to a phenomenon called garbage collection. Your app is not in control of it’s own destiny, it can be killed at anytime which means you need to know how to deal with such scenario which means understanding the lifecycle of an activity we […]

Android Admob Consent SDK : All you need to know + Example

First of all, let me address Google’s complacency to help app developers implement the GDPR SDK. They haven’t released a video on youtube neither have they released a tutorial on CodeLabs nor localise the content of Consent Dialog – all written in English (as of this writing). What is GDPR? GDPR is the new European privacy […]

Android Intents : All you need to know + Example

What are Android Intents? Android Intent is a simple message object which is used to communicate from one activity to another. Intents are like envelopes, each one includes which component (activity) you want to deliver to and there’s room for small amount of data to be delivered packaged as extras which are primitive topples. That can […]

All you need to know about RecyclerView + Example

Welcome to RecyclerView! What is a RecyclerView? RecyclerView is a container for displaying large data sets that can be scrolled (vertical or horizontal) very efficiently by maintaining a limited number of views. An Adapter is necessary to pull content from a source such as an array or database. An adapter actually bridges between UI components and the data […]

Play Billing Library Implementation (KOTLIN)

This is the only tutorial you’ll ever need on how to implement play billing library! Prior to the introduction of Play Billing Library implementing and managing In-App Billing was a very- complicated process. You had to: Install in-app billing library via Android Studio SDK Manager Add a Play Billing Manifest Permission Create an Android Interface […]