fhj
V2EX  ›  Android

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

  •  
  •   fhj · Dec 7, 2022 · 12626 views
    This topic created in 1278 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   ·   3866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:19 · PVG 18:19 · LAX 03:19 · JFK 06:19
    ♥ Do have faith in what you're doing.