'constructor Handler()' is deprecated, when i target Android version 30, it return this deprecated wraning for Handler() To resolve this first we need to know What is Handler A Handler allows you to send and process Handle will be use in two ways in Android application Handler() introduced in Android 1 and usage of default constructor was deprected in Andorid 30. To work with handler in Android 30 we need to pass Looper object inside contructor
Message and Runnable objects associated with a thread's MessageQueue
Handler(Looper.getMainLooper()).postDelayed({
// Your Code
}, 3000)
How to reduce APK package size?
How to stop EditText focus at Activity startup in Android?
What is Context?
What is "shared preferences" in Android ?
Explain Fragment Life Cycle
Fix Play Store Rejection Due to SMS Permission - RRutors
How To Set Text Color Programmatically Android TextView?
Hide/Disable soft keyboard on Activity launch: Android
How to Generate signed apk with android studio
How to save activity State in Android?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Open PDF in Google Drive with Intent in Android - RRutors
What is the Different Between val and var in Kotlin?
Invoke-customs are only supported starting with android 0 --min-api 26
Permission denied for window type 2010 in Marshmallow device
How to get screen size (width,height) in Android?
How to find Android Device UDID or unique ID?
FCM Not Receiving Notifications in Android - RRutors
How to validate email address in Android with Kotlin?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to check Android version?
Fix Android Emulator Kill Error When Running Your App
Set Activity to Fullscreen Mode in Android - RRutors
How to copy database from assets folder in android using kotlin
How to convert DP to Pixel and Pixel to Dp?
What is Android?
How to get a contact image using a phone number in android?
How can i comment inside xml file in android studio?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to get complete address from latitude and longitude?
What is the difference between match_parent and fill_parent?
Decompile APK Files: How to Get Source Code - RRutors Guide
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What happens next when the device switches between portrait and landscape?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What is Android Fragments?
What is NetworkOnMainThread Exception?
How to Use Deprecated Handler() in Android - RRutors Guide
How to install/ uninstall apk by command line ADB