Skip to content

Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference #2

Open
@tenSunFree

Description

@tenSunFree

在雙列表連動的頁面 來回快速滑動左右兩個列表時, 會有機會產生如下圖的錯誤
001

至於解決這個錯誤, 我目前使用的是如下圖的方式, 添加判斷來避免錯誤產生
002

不過我不太清楚為什麼會產生了這個錯誤, 有人知道嗎? 謝謝

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions