---
title: "Tej Pratap Singh (@tejpratap) | Hashnode"
description: "Developer. Read the latest articles by Tej Pratap Singh on Hashnode."
url: "https://hashnode.com/@tejpratap"
---

@tejpratap

# Tej Pratap Singh

@tejpratap · Bangalore, IN · Joined April 2019

Developer

[Website](https://me.tejpratapsingh.com/)

### [How to create a lifecycle aware custom class in Android.](https://blog.tejpratapsingh.com/how-to-create-a-lifecycle-aware-custom-class-in-android?utm_source=hashnode&utm_medium=feed)

We all know, each component in Android has its lifecycle, be it Activity, Fragment or Service. Each component gets created and destroys (and a few other stages in between). To create a custom class that is lifecycle aware inherently, we can use a set...

2 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/how-to-create-a-lifecycle-aware-custom-class-in-android?utm_source=hashnode&utm_medium=feed)

[Aug 17, 2023](https://hashnode.com/posts/how-to-create-a-lifecycle-aware-custom-class-in-android/64ddf8f7fea0e42cee6274c4)

### [AIDL : IPC, The Android way](https://blog.tejpratapsingh.com/aidl-ipc-the-android-way?utm_source=hashnode&utm_medium=feed)

hey, Android help me get data from my other app

2 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/aidl-ipc-the-android-way?utm_source=hashnode&utm_medium=feed)

[Jun 4, 2023](https://hashnode.com/posts/aidl-ipc-the-android-way/647c96e6cc3e17d63e7b68c3)

### [How to use Bitwise while setting properties](https://blog.tejpratapsingh.com/how-to-use-bitwise-while-setting-properties?utm_source=hashnode&utm_medium=feed)

Bit manipulation to set multiple properties to a single field.

2 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/how-to-use-bitwise-while-setting-properties?utm_source=hashnode&utm_medium=feed)

[May 2, 2023](https://hashnode.com/posts/how-to-use-bitwise-while-setting-properties/6450f2e66b548bec70abefff)

### [Limitation of PowerMockito.whenNew()](https://blog.tejpratapsingh.com/limitation-of-powermockitowhennew?utm_source=hashnode&utm_medium=feed)

Why Powermockito.whenNew() is not enough.

3 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/limitation-of-powermockitowhennew?utm_source=hashnode&utm_medium=feed)

[Feb 7, 2023](https://hashnode.com/posts/limitation-of-powermockitowhennew/63e227015e3af5b09469ff92)

### [Android: How to create Custom Calendar with RecyclerView](https://blog.tejpratapsingh.com/android-how-to-create-custom-calendar-with-recyclerview?utm_source=hashnode&utm_medium=feed)

Post inspired by RecyclerCalendarAndroid Lib RecyclerView The theory is simple, we need each day of the calendar rendered as one cell of the RecyclerView. To achieve this, we need to first prepare list of all dates, but there is a problem, we are mi...

2 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/android-how-to-create-custom-calendar-with-recyclerview?utm_source=hashnode&utm_medium=feed)

[Feb 3, 2023](https://hashnode.com/posts/android-how-to-create-custom-calendar-with-recyclerview/63dc9ffa980f5b820d64abc2)
