Shashank02051997/FancyGifDialog-Android

dissmiss dialog

riefist opened this issue · 13 comments

how to dismiss fancygifdialog programatically?

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

Hey man,

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

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

Hey, just leave empty onclick method for negativebutton

Hi,
How do I dismiss dialog programmatically?

Hey, just leave empty onclick method for negativebutton

Thanks for answer!

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)

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.

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.

me too
How do I dismiss dialog programmatically?

FancyGifDialog.dismiss() not work .

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

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