You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm really proud and apprciate it about this library help me on Activity, can you give me knowledge how to setup in RecyclerView Adapter event we have create adapter on Class? Because I didn't know how to setup ImageZoomHelper imageZoomHelper; and imageZoomHelper = new ImageZoomHelper(this); also for dispatchTouchEvent.
Thanks and Regards
Edi Kurniawan
The text was updated successfully, but these errors were encountered:
Hi, I had this problem. I fixed it with this solution.
For problem 1: pass the activity from your Activity class to adapter and then set it in the ImageZoomHelper.
problem 2: assume that you want to zoom an imageView.
ImageZoomHelper.setViewZoomable(imageView);
then instead of dispathTouchEvent use below:
imageView.setOnTouchListener(new View.OnTouchListener() { @OverRide
public boolean onTouch(View view, MotionEvent motionEvent) {
return view == imageView && imageZoomHelper.onDispatchTouchEvent(motionEvent);
}
});
Hi I'm really proud and apprciate it about this library help me on Activity, can you give me knowledge how to setup in RecyclerView Adapter event we have create adapter on Class? Because I didn't know how to setup ImageZoomHelper imageZoomHelper; and imageZoomHelper = new ImageZoomHelper(this); also for dispatchTouchEvent.
Thanks and Regards
Edi Kurniawan
The text was updated successfully, but these errors were encountered: