Easily Switch Ruby Versions on Your Mac (M1, M2, M3, M4 Included) Are you tired of wrestling with Ruby version updates and installations on your Mac? Whether you’re configuring tools…
To disable doze mode in an Android device, you can follow these steps: Open the Settings app on your Android device. Scroll down and tap on the "Battery" or "Battery…
In Kotlin, a debounce the function limits the rate at which a particular action is performed. This can be useful in a variety of situations, such as when performing a…
Mi, Xiaomi, Oppo, Vivo, Huawei, LeTV, Asus like smartphone manufacturers are using a customized android OS that looks like and works differently than the stock android OS. Those manufacturers use…
It's a kinda Design Pattern. How and when do we need to use it? The Factory method is a creational pattern used to create objects when - A class cannot…
They enable types (classes and interfaces) to be parameters when defining classes, interfaces, and methods/functions. Much like the more familiar formal parameters used in the method declarations, type parameters provide…
Easily Switch Ruby Versions on Your Mac (M1, M2, M3, M4 Included) Are you tired of wrestling with Ruby version updates and installations on your Mac? Whether you’re configuring tools…
To disable doze mode in an Android device, you can follow these steps: Open the Settings app on your Android device. Scroll down and tap on the "Battery" or "Battery…
In Kotlin, a debounce the function limits the rate at which a particular action is performed. This can be useful in a variety of situations, such as when performing a…
Mi, Xiaomi, Oppo, Vivo, Huawei, LeTV, Asus like smartphone manufacturers are using a customized android OS that looks like and works differently than the stock android OS. Those manufacturers use…
It's a kinda Design Pattern. How and when do we need to use it? The Factory method is a creational pattern used to create objects when - A class cannot…
They enable types (classes and interfaces) to be parameters when defining classes, interfaces, and methods/functions. Much like the more familiar formal parameters used in the method declarations, type parameters provide…
What is a foreground service in android? A foreground service runs in the background but must come with a notification, so the user knows it's running on the OS. It's…
We develop some android applications with foreground services that execute tasks for a long time. But from Android M or Android 6 or Marshmellow or API v23+, Android decided to…
Nowadays we are using Google advertising id as a unique identifier besides IMEI, GSM subscriber id, Device id, etc. Let's have a look at how we can retrieve or fetch…