'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 NetworkOnMainThread Exception?
Permission denied for window type 2010 in Marshmallow device
How to Get bitmap from drawable: Android
What is ANR? How to avoid and resolve it?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How do I check in SQLite whether a table exists?
What is "shared preferences" in Android ?
What is the Different Between val and var in Kotlin?
What are Android Versions available?
FCM Not Receiving Notifications in Android - RRutors
How to save activity State in Android?
Fix Play Store Rejection Due to SMS Permission - RRutors
Symmetric vs Asymmetric Encryption in Android Server - RRutors
What happens next when the device switches between portrait and landscape?
How to install/ uninstall apk by command line ADB
Fix Duplicate Files in APK Build.gradle Issue - RRutors
What is Application?
What are the notifications available in android?
How to convert DP to Pixel and Pixel to Dp?
How to Exit android app on back pressed?
Add Jar/Library Files as Dependency in Android Studio
Set Activity to Fullscreen Mode in Android - RRutors
How to reduce APK package size?
How to Use Deprecated Handler() in Android - RRutors Guide
How to get screen size (width,height) in Android?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Explain Fragment Life Cycle
How to convert milli seconds to hours, minutes and seconds in Android?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
Fix Android Emulator Kill Error When Running Your App
What is Android Fragments?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Hide/Disable soft keyboard on Activity launch: Android
How to Generate signed apk with android studio
How to start a new activity on button click
How do I generate random numbers in Dart?
How can i comment inside xml file in android studio?
What is the difference between match_parent and fill_parent?
How to get an image resource by it's name in android?
What is Context?