简体   繁体   中英

Handle pinch zoom on recylerview

I want to achieve pinch, zoom on a recylerview. I have some text views in recylerview. I would like to change text size on the pinch. I successfully handle, pinch on an empty activity using Pinch zoom for a custom view. But it is not working on recylerview. Recylerview just scroll instead of pinch event. I handled separate touch event on textview but not working!

I found a way to achieve this. You can use this library https://code.google.com/p/android-zoom-view/downloads/list . This library will allow you to zoom recylerview like an image. You can change this library to your needs. There is no wiki page associated with this project so check this Wiki about android-zoom-view.jar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM