AndroidImagePopup icon indicating copy to clipboard operation
AndroidImagePopup copied to clipboard

Popup showing without image

Open oualidouka opened this issue 6 years ago • 9 comments

I am doing every this as shown here but when I click the image it shows popup without the image in log cat there is no error. can you help me, please

oualidouka avatar Jul 25 '18 20:07 oualidouka

can you share with us your code and the image url and screen shot before click and after click

Abdelsattar avatar Jul 26 '18 13:07 Abdelsattar

hi this is my code ` glide.with(this).load(cleaned_image).apply(requestOptions).into(cleaned_img);

    final ImagePopup imagePopup = new ImagePopup(this);

    imagePopup.setWindowHeight(800); // Optional
    imagePopup.setWindowWidth(800); // Optional
    imagePopup.setBackgroundColor(Color.BLACK);  // Optional
    imagePopup.setFullScreen(true); // Optional
    imagePopup.setHideCloseIcon(true);  // Optional
    imagePopup.setImageOnClickClose(true);  // Optional

    imagePopup.initiatePopup(cleaned_img.getDrawable());

    cleaned_img.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {

            imagePopup.viewPopup();

        }
    });

` i forget to tell you that i am using Glide to download image from url and show it in the image view

oualidouka avatar Jul 26 '18 14:07 oualidouka

are you sure when you click on cleaned_img, it has already loaded image from Glide?

chathuralakmal avatar Jul 27 '18 02:07 chathuralakmal

yes the cleaned_img is shown in the image view

oualidouka avatar Jul 27 '18 17:07 oualidouka

up

oualidouka avatar Sep 04 '18 09:09 oualidouka

Did you solve the problem if yes means can u show the code???

mustafamn avatar Nov 29 '18 15:11 mustafamn

Did you solve the problem if yes means can u show the code???

hi, no i didn't ,i am here waiting for library developer .

oualidouka avatar Nov 29 '18 15:11 oualidouka

@oualidouka did you changed initiatePopup with initiatePopupWithGlide() as you already using glide ?

Abdelsattar avatar Nov 30 '18 21:11 Abdelsattar

not work empty

ELTEGANI avatar Feb 13 '19 15:02 ELTEGANI