Mahendran

Mahendran @mahendranv

About: Android / Kotlin / Python / KMP

Location:
India
Joined:
Apr 14, 2021

Mahendran
articles - 39 total

Using ViewModel-LiveData with Jetpack Compose

Where and how to make API calls from composable function

Learn More 34 6Sep 12 '22

Android Utility belt — Collection of dependencies for a greenfield project

Starting an android project will bring in a new set of challenges 👀 aka adding tons of Gradle...

Learn More 6 0Oct 28 '21

Android — Instrumentation test with hilt & espresso

Testing in Android has been a pain from the beginning and there is no standard architecture setup to...

Learn More 5 0Oct 21 '21

How HiltViewModel is generated without a factory?

This is the second installment in the three-part series. To understand better, you can read part1 or...

Learn More 6 1Oct 6 '21

How viewmodel survives configuration change?

Android ViewModel is one of the most helpful APIs exist in the ecosystem. It's a major release which...

Learn More 7 0Oct 1 '21

Android — Basic Hilt setup with viewmodel + fragment

Hilt is a modern android DI framework for dependency injection. It is merely a wrapper around...

Learn More 22 0Oct 1 '21

Designing a bottom navigation bar with Jetpack compose

Intro This article covers the design aspect of the bottom navigation bar using Jetpack...

Learn More 6 0Jul 30 '21

I created few shapes in Jetpack compose / Gist included

Sharing few of my jetpack-compose shapes here. Did path tracing and formed outline path. ...

Learn More 3 0Jul 9 '21

Jetpack compose - shape your views

Jetpack compose has an elegant way to cut out a Compose view into the desired shape. I'm covering few...

Learn More 6 0Jun 23 '21

Android — Implementing LifecycleAwareTimer

Android CountDownTimer is good, but it can be better. This article covers few tweaks to the timer and...

Learn More 2 0Jun 18 '21

Flow is non-blocking but the collector is not

Flow is an idiomatic way in kotlin to publish stream of values. While the flow itself suspendable,...

Learn More 3 0Jun 16 '21

GraphQL backend — token expiry

GraphQL authorization — token expiry

Learn More 6 0Jun 1 '21

GraphQL backend — authorization & authentication

GraphQL authorization & authentication using Aspectj and Filters

Learn More 6 0May 31 '21

LeetCode — Median of Two Sorted Arrays

Leetcode#4 — Median of Two Sorted Arrays Kotlin solution

Learn More 4 0May 28 '21

Leetcode - Kotlin solution for the longest substring without repeating characters

Solution for leetcode /#3 — the Longest Substring Without Repeating Characters

Learn More 4 0May 27 '21

GraphQL backend — pagination & filters

GraphQL pagination and filter setup

Learn More 8 1May 25 '21

GraphQL backend — data loaders

How to make use of GraphQL data loaders to write declarative data fetchers?

Learn More 2 0May 21 '21

Write less with Intellij Live Templates

LiveTemplate is a feature in Intellij based IDEs where you can expand a code snippet by typing an...

Learn More 2 0May 19 '21

GraphQL backend — nested objects

A nested object is like a Matryoshka doll where one object placed inside another, and you can choose...

Learn More 2 0May 20 '21

VSCode - A perfect setup for Github pages project

I hosted my blog in github pages and one thing was constantly bugging me. How can I efficiently get...

Learn More 10 0May 18 '21

GraphQL backend — update & delete

In the first installment, I covered create and read operations to the Expense entity. Now let’s add...

Learn More 4 0May 19 '21

GraphQL - simple backend - SpringBoot application

A simple SpringBoot application using in memory data source

Learn More 6 0May 17 '21

Get productive with GraphQL - Type Adapters

Cross-posting from my blog Get productive with GraphQL - Type Adapters One of the demandi...

Learn More 6 0May 16 '21

Weather forecast card design using Jetpack Compose

Cross posting from my blog Weather forecast card design using Jetpack Compose Horizontal...

Learn More 7 0May 15 '21

Android - API calls to Graphql server

This is the final article in the series. In the previous ones I covered backend setup for GraphQL an...

Learn More 3 0May 14 '21

Why should I go for compose?

Way less boilerplate and better tooling. That's why. What's wrong with the old...

Learn More 6 0May 13 '21

Adding LinkedList elements Kotlin solution- LeetCode #1

Problem definition is also available here. Problem summary: We have two linked lists as input each...

Learn More 0 0May 12 '21

Android - GraphQL code generation

This is the fourth installment in [Android app with Hasura backend - #4] series. In the previous arti...

Learn More 5 0May 12 '21

Preparing your IDE for GraphQL

This is a third installment in [Android app with Hasura backend - #3] series. With GraphQL engine and...

Learn More 11 1May 11 '21

Exploring Hasura - Schema setup and queries

This is second article in the series: [Android app with Hasura backend - #2] Now we have a database...

Learn More 3 0May 11 '21