Performance-optimization tips for apps while rendering the views


What is TaskStackBuilder and why do we need it?

Introduction

When we press an app icon and open an app it displays an Activity with UI where we can navigate further between fragments or activities. When we navigate between different activities the system stores them in a stack and this stack of Activities can be defined as Task. …


A look at Jetpack’s one-stop solution for all deferred tasks

Photo by Patrick Tomasso on Unsplash

Introduction

As part of app development, we do background tasks like syncing the local database with the server, prefetching some data from an API, etc.


Understand Process, Tasks, and Back Stack

Introduction

Building an Android app is easy. But building good-performing apps under various use-cases will be brilliant. So if you have an Android Studio downloaded there is nothing that we need but few clicks to follow to create a project and install an app by running the project. On the other…


An easy and simple authentication process for apps via firebase

Introduction

Nowadays authentication has become common in almost all apps. And many of us know it would be like an overhead for beginner developers to learn and start working on the complete authentication flow from the client and server-side. Also, small start-ups at the earliest point might not be interested to…


A Jetpack recommended solution for storing data using Protobufs that provides type safety

Introduction

SharedPreferences the common way used for storing key-value pairs in local storage. Datastore is a replacement to SharedPreferences to overcome its shortcomings. Datastore is an advanced data storage solution that was built using Kotlin coroutines and Flow to store data asynchronously, consistently, and transactionally. There are two ways to store…


A Jetpack recommended solution for storing data asynchronously

Introduction

SharedPreferences is the common way used for storing key-value pairs in local storage. We have been using the SharedPreferences concept since the start of Android development. As we are migrating to the latest programming languages like Kotlin there needs to be an advancement in terms of dealing with SharedPreferences. SharedPreferences…


Add floating bubbles like IOS styled AssistiveTouch menu or Facebook Chat Head

Photo by Andy Makely on Unsplash

Introduction

In Android, Floating bubbles or ChatHeads allow quick access to core features without fully opening the app. For example, replying to messages through Floating bubbles.


Handle system-wide and custom broadcasts

Child playing with dial on stereo
Photo by Will Francis on Unsplash.
  • Activities
  • Services
  • Broadcast receivers
  • Content providers


Know what a foreground service is and integrate one into your Android app

Android logo above some code
Image by the author.

Satya Pavan Kantamani

Android Dev at Toppr. Interested in Traveling, App development. Based in Hyderabad, India. Catch me at https://about.me/satyapavankumar

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