Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 481 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 481 Bytes

PinchZoom

RecyclerViewExtensions module providing utilities for pinch zooming.

PinchZoomItemTouchListener

A RecyclerView.OnItemTouchListener that invokes PinchZoomListener#onPinchZoom(int) whenever the gesture is detected around a specific position.

To use, add it as a touch listener to RecyclerView:

recyclerView.addOnItemTouchListener(
        new PinchZoomItemTouchListener(context, listener));