I'm starting share dialog on item click this way:
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("text/plain");
share.putExtra(Intent.EXTRA_TEXT,getResources().getString(R.string.share_messageToSend));
startActivity(Intent.createChooser(share,getResources().getString(R.string.share_app_title)));
On orientation change activity recreates, and this dialog after launching starts blinking(constantly recreating), but I need my activity to be recreated on orientation change. Thanks in advance.