I have created a Popup window which contains month view to pick up date. When I changes orientation, due to Android loads an activity all over again my popup Window gets dis
Showing PopupWindow as
final View parent = findViewById(R.id.{parentId}); parent.post(new Runnable() { @Override public void run() { mPopup.showAtLocation(parent, ...); } });
resolves unhandled exception on orientation change