We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如下面的代码,跳转到新的activity时, ActionSheetDialog会调dismiss()这个有动画的方法,但是这时由于startActivity正在启动,所以ActionSheetDialog的消失动画会非常卡顿,我看GPU曲线都红了一片了, 现在是使用没有动画的消失方法,但是终究不如有动画的好看
dialog.setOnOperItemClickL(new OnOperItemClickL() { @Override public void onOperItemClick(AdapterView<?> parent, View view, int position, long id) { switch (position) { case 4: Intent intent = new Intent(mActivity,DetailActivity.class); intent.putExtra(DetailActivity.INTENT_FRAGMENT_INDEX_KEY, DetailActivity.FRAGMENT_FLOWDETAILS); intent.putExtra(DetailActivity.INTENT_TITLE_KEY, "详情"); startActivity(intent); break; } dialog.dismiss(); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
比如下面的代码,跳转到新的activity时, ActionSheetDialog会调dismiss()这个有动画的方法,但是这时由于startActivity正在启动,所以ActionSheetDialog的消失动画会非常卡顿,我看GPU曲线都红了一片了,
现在是使用没有动画的消失方法,但是终究不如有动画的好看
The text was updated successfully, but these errors were encountered: