Could anyone know, how to fix the deprecated warning or any alternate solution for this.
Handler().postDelayed({ context?.let { //code } }, 30
new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { @Override public void run() { // Your Code } }, 3000);
Handler(Looper.getMainLooper()).postDelayed({ // Your Code }, 3000)