I'm attempting to removed the deprecated code getWidth();
from this code before going to production. I've tried a few of the ways mentioned here at stack for other classes but cannot seem to get it to work for this. Anyone know i can get the with here?
public class QuickAction extends PopupWindows implements OnDismissListener {
...
public void show (View anchor) {
int screenWidth = mWindowManager.getDefaultDisplay().getWidth();
...
}