Tag Archives: Dey

const val vs val in kotlin. In Kotlin, const val and val are used… | by Parita Dey | Feb, 2025

const val vs val in kotlin. In Kotlin, const val and val are used… | by Parita Dey | Feb, 2025

In Kotlin, const val and val are used for defining immutable variables, but they serve different purposes and have distinct behaviors. const val (Compile-Time Constant) Used to declare compile-time constants that are known and fixed at the time of compilation. Usage: Typically for defining constants in top-level objects, companion object, or object declarations. Key Points: Must be of a primitive …

Read More »

Koin — a new story in Android. Hilt is often the go-to library for… | by Parita Dey | Jan, 2025

Koin — a new story in Android. Hilt is often the go-to library for… | by Parita Dey | Jan, 2025

Hilt is often the go-to library for dependency injection due to its official support from Google and deep integration with Android libraries. But with new age technology Koin is introduced and it is simple, fast adoption and Kotlin-first approach. What is Koin → Koin is a lightweight dependency injection (DI) framework specifically designed for Kotlin. It provides a pragmatic, easy-to-use …

Read More »

LaunchedEffect — in Jetpack Compose Android | by Parita Dey | Jan, 2025

LaunchedEffect — in Jetpack Compose Android | by Parita Dey | Jan, 2025

What is LaunchedEffect ? LaunchedEffect is a side-effect API in Jetpack Compose that allows to run suspendable tasks or actions in a coroutine when a key changes or when the composable is first composed.It is designed for handling one-off tasks or effects that need to happen as part of the composable lifecycle. Now an question arises, What is Side-effect API …

Read More »

Local Notification in Android with Jetpack Compose | by Parita Dey | Jan, 2025

Local Notification in Android with Jetpack Compose | by Parita Dey | Jan, 2025

Local notifications in Android using Kotlin and Jetpack Compose can be implemented using the Android NotificationManager and NotificationCompat.Builder. Notifications provide short, timely information about events in the app while it isn’t in use. Add the AndroidX Core Library → if user wants to use a local notification then add the following dependency or be sure that the app has it …

Read More »

Integration of RazorPay in Android Jetpack Compose | by Parita Dey | Dec, 2024

Integration of RazorPay in Android Jetpack Compose | by Parita Dey | Dec, 2024

Razorpay is a comprehensive payment gateway solution that enables businesses to accept, process, and disburse payments online. Razorpay simplifies payment integration for developers and businesses by offering APIs, SDKs, and easy-to-use dashboards. E-commerce platforms for product purchases. SaaS businesses for subscriptions. Event organizers for ticket payments. Charities for donations. Freelancers for collecting payments. Developer-Friendly — Extensive documentation and SDKs for …

Read More »