Hand holding phone
Photo by Masakaze Kawakami on Unsplash.

1. Things Should Be Where They’re Supposed to Be (Strings, Colors)

There is tremendous growth in the Android ecosystem around the globe with a diverse community. People from different backgrounds, people with disabilities, people who wish to have fancy features like night mode, and more use Android apps in their day-to-day life.

Developing apps for such a diverse community is not…

Phone placed vertically
Photo by Stephen Frank on Unsplash.

One of the best ways to display huge lists in Android is through RecyclerView. As developers, you all might have used it. We have many advanced features like view holder patterns, rich animation, Diff-Utils callback to improve performance, etc. Apps like WhatsApp and Gmail use RecyclerView to show endless conversations.

Razorpay TokenHQ, India’s first Multi-network Card Tokenisation Solution

Photo by Pickawood on Unsplash

Introduction

With Razorpay standard checkout developers can support multiple payments modes across platforms in a matter of seconds. With this approach developers and companies are no longer concerned with currency conversion, payment verification, supporting new payment modes, etc. To learn more about standard checkout read the following article:

But in this…

Photo by True Agency on Unsplash

In this article, we’re going to learn how to validate input data when a user submits a form and shows a custom error message. Validations in this article cover: empty submissions, valid email checks, and character length checks, radio group selection checks, etc.

Introduction

Jetpack Compose is one of the recent…

Photo by Kelly Sikkema on Unsplash

In this article, you’re going to learn how to implement a sort and filter function on local storage records. Here we use Kotlin Flow to make things reactive and efficient.

Introduction

Using Room library for local storage is pretty much standard practice in 2021 android dev. One of the cool things…

Photo by Sergey Zolkin on Unsplash

One of the significant differences that we can find in Android and iPhone is how they handle system back press. In iOS you can swipe from left to right, whereas Android offers different options. No matter which option users opt-in to use, developers can handle the event via onBackPressed function.

History

Photo by Thomas Tucker on Unsplash

Takeaway from this article

In this article we’re going to learn how to create viewmodel instances based on different scopes such as activity, fragment and navigation graph(nothing but a set fragments in a stack). We also learn why we need viewmodel factory and its importance in the process.

Prerequisites

Before digging into viewmodel creation, first…

Siva Ganesh Kantamani

Learn. Code. Write. Repeat. Visit me at https://about.me/sivaganesh_kantamani & Join my email list at https://sgkantamani.substack.com/p/subscribe

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