'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)
What is Android?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to install/ uninstall apk by command line ADB
How to find Android Device UDID or unique ID?
Hide/Disable soft keyboard on Activity launch: Android
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Open PDF in Google Drive with Intent in Android - RRutors
Fix Duplicate Files in APK Build.gradle Issue - RRutors
FCM Not Receiving Notifications in Android - RRutors
How to avoid multiple button click at same time in android?
How to Use Deprecated Handler() in Android - RRutors Guide
What happens next when the device switches between portrait and landscape?
How to Exit android app on back pressed?
How do i load image from drawable folder in Jetpack Compose?
How can i comment inside xml file in android studio?
Add Jar/Library Files as Dependency in Android Studio
Fix Play Store Rejection Due to SMS Permission - RRutors
How to convert DP to Pixel and Pixel to Dp?
How to Generate signed apk with android studio
How to Get bitmap from drawable: Android
Extract Date and Time from Long Type Variable - RRutors
How to get an image resource by it's name in android?
What is ANR in android?
Key Points to remember while develop the Android Application.
What is "shared preferences" in Android ?
Explain Fragment Life Cycle
Permission denied for window type 2010 in Marshmallow device
What are Android Versions available?
What is Android Fragments?
Check List for Generate Signed APK Android
What is Context?
How to stop EditText focus at Activity startup in Android?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Set Activity to Fullscreen Mode in Android - RRutors
How to validate email address in Android with Kotlin?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is ANR? How to avoid and resolve it?
Android Studio project R can't find
How to get complete address from latitude and longitude?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors