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

dissmiss dialog #2

Closed
riefist opened this issue Apr 5, 2018 · 13 comments
Closed

dissmiss dialog #2

riefist opened this issue Apr 5, 2018 · 13 comments

Comments

@riefist
Copy link

riefist commented Apr 5, 2018

how to dismiss fancygifdialog programatically?

@MuriukiCollins
Copy link

Was this resolved? I am having the same issue. I want to dismiss the gif dialog

@Shashank02051997
Copy link
Owner

Shashank02051997 commented Oct 5, 2018 via email

@Shashank02051997
Copy link
Owner

Hey man,

Sorry for the late reply. Is your problem solved or you are still facing the problem?

@veldor
Copy link

veldor commented Dec 9, 2019

Hi! I have a problem ;) Can't see, how dismiss it(

@hsmedinar
Copy link

Hey, just leave empty onclick method for negativebutton

@vivekshivarajkumar
Copy link

vivekshivarajkumar commented Apr 26, 2020

Hi,
How do I dismiss dialog programmatically?

@veldor
Copy link

veldor commented Apr 28, 2020

Hey, just leave empty onclick method for negativebutton

Thanks for answer!

@veldor
Copy link

veldor commented Apr 28, 2020

Hi,
How do I dismiss dialog programmatically?

i rewrite dialog here:

link

create dialog:

    private void showLoadDialog() {
        if (mLoadDialog == null) {
            mLoadDialog = new GifDialog.Builder(this)
                    .setTitle(getString(R.string.download_subscribes_title))
                    .setMessage(getString(R.string.download_subscribes_msg))
                    .setGifResource(R.drawable.loading)   //Pass your Gif here
                    .isCancellable(false)
                    .build();
        }
        mLoadDialog.show();
    }

hide dialog:

    if(mLoadDialog != null){
        mLoadDialog.dismiss();
    }

works for me)

@Shashank02051997
Copy link
Owner

Hi! I have a problem ;) Can't see, how dismiss it(

Could you please send me a screenshot and attached a video so it would be helpful for me to understand where are you facing the issue.

@Shashank02051997
Copy link
Owner

Hey @newpreneur Could you please send me a screenshot and attached a video so it would be helpful for me to understand where are you facing the issue.

@Gujacheol
Copy link

me too
How do I dismiss dialog programmatically?

FancyGifDialog.dismiss() not work .

@Shashank02051997
Copy link
Owner

Hi,
How do I dismiss dialog programmatically?

i rewrite dialog here:

link

create dialog:

    private void showLoadDialog() {
        if (mLoadDialog == null) {
            mLoadDialog = new GifDialog.Builder(this)
                    .setTitle(getString(R.string.download_subscribes_title))
                    .setMessage(getString(R.string.download_subscribes_msg))
                    .setGifResource(R.drawable.loading)   //Pass your Gif here
                    .isCancellable(false)
                    .build();
        }
        mLoadDialog.show();
    }

hide dialog:

    if(mLoadDialog != null){
        mLoadDialog.dismiss();
    }

works for me)

@Gujacheol can you please try this solution

@Gujacheol
Copy link

I tried. I used FancyGifDialog and there is no dismiss() function.
There is also no show() function.
image

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

7 participants