sagar0-0.hashnode.devHow Does Mocking Work Internally? A Deep Dive into MockK InternalsIf you’ve ever written unit tests in Kotlin, you’ve probably used MockK. This famous, powerful, expressive mocking library is designed specifically for Kotlin. It feels like magic: you defineevery { someFunction() } returns value, and suddenly that f...May 18, 2025·5 min read
sagar0-0.hashnode.devUnderstanding Low Memory Management in Android: Kswapd & LMKAs a mobile operating system, Android has to deal with limited memory resources. The OS carefully monitors memory usage and takes steps to free up memory when it becomes low. In this article, we discuss how Android allocates memory and reacts to low-...Dec 17, 2024·5 min read
sagar0-0.hashnode.devThe 2 Best ways to secure your API KEYS in Android ProjectsProtecting your Android app’s API keys ensures the privacy of user information and secures any unauthorized access to your APIs, this is important and every application should make sure to secure their API keys to prevent any misuse of their services...Nov 4, 2024·5 min read
sagar0-0.hashnode.devCreate and publish your Android Open-Source Library in MinutesCreating and publishing an Android Open-Source Library is much easier than you think. I am going to demonstrate a step-by-step guide to creating and publishing your first Android Jetpack Compose Library with Github and Jitpack. Prerequisites: Androi...Nov 4, 2024·3 min read
sagar0-0.hashnode.devDP vs SP vs DPI vs PX in AndroidWe use some standard Units of measurement to make sure everyone is on the same table when we are talking about sizes, in real world, and in the Android world. Even if you are not aware of a single term here, don’t worry I will start from the basics a...Jul 28, 2024·4 min read