Please avoid using deprecated methods ( what I did wrong here please help)

Hello please help me out I got soft rejection because “Please avoid using deprecated methods” Please help me out what it it mean.

1 Like

Assuming it’s PHP/WordPress, some of the functions has been removed within the newest version of the PHP/WordPress and it will give you errors. To find it, you can enable the error reporting to see which functions is the problem

This is Android project and everything is ok at my side without any error app running perfect, no build error, then why this type rejection

You need to debug your codes for deprecated/old methods.

tabLayout.setOnTabSelectedListener(new OnTabSelectedListener

I got rejection because using deprecated method

setOnTabSelectedListener
Now if I use addOnTabSelectedListener then they will allow me. ?

Assuming it’s Android, you should check the latest coding standards. I’m not familiar with it