AndroidImagePopup
AndroidImagePopup copied to clipboard
Popup showing without image
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
can you share with us your code and the image url and screen shot before click and after click
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
are you sure when you click on cleaned_img, it has already loaded image from Glide?
yes the cleaned_img is shown in the image view
up
Did you solve the problem if yes means can u show the code???
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 did you changed initiatePopup
with initiatePopupWithGlide()
as you already using glide ?
not work empty