fhj
V2EX  ›  Android

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

  •  
  •   fhj · Dec 7, 2022 · 12756 views
    This topic created in 1309 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   ·   Solana   ·   3648 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 04:52 · PVG 12:52 · LAX 21:52 · JFK 00:52
    ♥ Do have faith in what you're doing.