I would like some help with something I am stuck at my Android project. I am trying to implement the drag and pinch scale gestures with fling option on my custom view with a canvas that includes a large number (e.g. a thousand) of shapes such as path and rectangles in a smooth manner. This project at [url removed, login to view] is a great implementation for example, but it is for the imageview, not for my purpose (customview with canvas). This is not really an entire project, I just need to have the implementation of gestures for canvas or customview , which might be already out there as a library.