andfun-kotlin-dessert-pusher icon indicating copy to clipboard operation
andfun-kotlin-dessert-pusher copied to clipboard

Update deprecated Handler constructor

Open marawanxmamdouh opened this issue 2 years ago • 0 comments

'constructor Handler()' is deprecated. Deprecated in Java

Creating an object of Handler using the new Handler() is deprecated. As per the documentation, using a new Handler() can lead to bugs. So you should specify a looper for the handler explicitly. Looper must not be null.

marawanxmamdouh avatar Jul 12 '22 04:07 marawanxmamdouh