fhj
V2EX  ›  Android

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

  •  
  •   fhj · Dec 7, 2022 · 12826 views
    This topic created in 1326 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   ·   2743 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:50 · PVG 09:50 · LAX 18:50 · JFK 21:50
    ♥ Do have faith in what you're doing.