Code Monkey home page Code Monkey logo

Comments (2)

panpf avatar panpf commented on July 16, 2024

接下来会考虑这个功能的

from sketch.

panpf avatar panpf commented on July 16, 2024

先说结果:放弃增加手势旋转功能。

原因有以下几点:

  1. 工作量大。尝试实现的过程中发现手势旋转功能实现起来非常复杂,因为不同的角度缩放倍数和位移量都不一样,旋转的过程中要动态计算并更新,现有架构需要较大的重构才能实现。而 PhotoViewEx 并没有考虑这些,所以它的效果并不好
  2. 体验了 PhotoViewEx 的手势旋转后个人感觉手势旋转手势用起来体验并不好,远不如提供单独旋转按钮用起来方便舒服
  3. 纵观市面上排名靠前的 App,例如微信、微博、QQ,哔哩哔哩、Twitter它们都没有提供手势旋转功能,甚至他们都没有提供旋转功能,说明这是一个非常低频且不是那么重要的功能

from sketch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.