Code Monkey home page Code Monkey logo

Comments (13)

MuriukiCollins avatar MuriukiCollins commented on May 25, 2024

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

from fancygifdialog-android.

Shashank02051997 avatar Shashank02051997 commented on May 25, 2024

from fancygifdialog-android.

Shashank02051997 avatar Shashank02051997 commented on May 25, 2024

Hey man,

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

from fancygifdialog-android.

veldor avatar veldor commented on May 25, 2024

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

from fancygifdialog-android.

hsmedinar avatar hsmedinar commented on May 25, 2024

Hey, just leave empty onclick method for negativebutton

from fancygifdialog-android.

vivekshivarajkumar avatar vivekshivarajkumar commented on May 25, 2024

Hi,
How do I dismiss dialog programmatically?

from fancygifdialog-android.

veldor avatar veldor commented on May 25, 2024

Hey, just leave empty onclick method for negativebutton

Thanks for answer!

from fancygifdialog-android.

veldor avatar veldor commented on May 25, 2024

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)

from fancygifdialog-android.

Shashank02051997 avatar Shashank02051997 commented on May 25, 2024

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.

from fancygifdialog-android.

Shashank02051997 avatar Shashank02051997 commented on May 25, 2024

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.

from fancygifdialog-android.

Gujacheol avatar Gujacheol commented on May 25, 2024

me too
How do I dismiss dialog programmatically?

FancyGifDialog.dismiss() not work .

from fancygifdialog-android.

Shashank02051997 avatar Shashank02051997 commented on May 25, 2024

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

from fancygifdialog-android.

Gujacheol avatar Gujacheol commented on May 25, 2024

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

from fancygifdialog-android.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.