StfalconImageViewer
StfalconImageViewer copied to clipboard
Clicking on the background image will not black out
Clicking on the background image will not turn black and will need to click on the photo again to turn black.
imageView.setOnClickListener(v->{
new StfalconImageViewer.Builder(context, addresses,
new ImageLoader() {
public void loadImage(ImageView imageView, Object image) {
Glide.with(context)
.load(addresses.get(position))
.fitCenter()
.into(imageView);
}
})
.withBackgroundColorResource(R.color.black)
.withBackgroundColor(Color.parseColor("#000000"))
.allowSwipeToDismiss(true)
.allowSwipeToDismiss(true)
.withHiddenStatusBar(true)
.withImageChangeListener(position1 -> {
})
.show(true) ;
// FullscreenActivity.addresses=addresses;
// context.startActivity(new Intent(context,FullscreenActivity.class));
});
I need to make a black background photo after the first click. Thankful
Did u get any solution of this? bcz I am facing same issue.