How do I fix the deprecation warning in this code? Alternatively, are there any other options for doing this?

Handler().postDelayed({
    context?.let {
        //code
    }
}, 3000)

19 Answers
19

Leave a Reply

Your email address will not be published. Required fields are marked *