fhj
V2EX  ›  Android

处理滑动时,为什么 getX()会导致抖动?

  •  
  •   fhj · Dec 7, 2022 · 12973 views
    This topic created in 1359 days ago, the information mentioned may be changed or developed.

    使用 getX()会导致抖动,但是 Recyclerview 处理 Move 事件也是使用的 getX(),RecyclerView 为什么不使用 getRawX 呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4810 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:40 · PVG 17:40 · LAX 02:40 · JFK 05:40
    ♥ Do have faith in what you're doing.