Skip to content
New issue

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

Dialog is shown twice #41

Closed
MDXDave opened this issue Nov 5, 2014 · 0 comments
Closed

Dialog is shown twice #41

MDXDave opened this issue Nov 5, 2014 · 0 comments

Comments

@MDXDave
Copy link

MDXDave commented Nov 5, 2014

My code:

CustomDialog.Builder builder = new CustomDialog.Builder(mActivity,
                    mActivity.getString(R.string.restart_required), mActivity.getString(R.string.yes_restart));
            builder.negativeText(mActivity.getString(R.string.no));
            builder.darkTheme(false);
            builder.content(mActivity.getString(R.string.restart_now));
            builder.titleAlignment(BaseDialog.Alignment.LEFT);
            builder.titleColor(R.color.app_blau);
            CustomDialog customDialog = builder.build();
            customDialog.show();
            customDialog.setClickListener(new CustomDialog.ClickListener() {
                @Override
                public void onConfirmClick() {
                    [...]
                }

                @Override
                public void onCancelClick() {
                    [...]
                }
            });

The Dialog is shown twice on top of another, any fix available?

@MDXDave MDXDave closed this as completed Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant