android / android/testing-samples
UIScrollable.getChildByDescription - reload data while executed scrollToBeginning in the method
- 主要言語
- Java
- スター
- 9.3k
- フォーク
- 3.6k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When UIScrollable.getChildByDescription starts working, first it does scrollToBeginning (which provokes updating of the list if the list is at the beginning), and only then it scrolls down and finds the desired element. How can I disable updating the list if the list is already at the beginning?
scrollToBeginning:
https://android.googlesource.com/platform/frameworks/testing/+/f612e6a05f47b28ae0f5715545658c08dd759dd7/uiautomator/library/src/com/android/uiautomator/core/UiScrollable.java#210
コントリビューションガイド
調査の方向性
Issue は、リンクされた Android framework のソースにある UiScrollable.java を指し、getChildByDescription と scrollToBeginning を挙げています。まず scrollToBeginning を読み、次に getChildByDescription からの呼び出しを追跡してください。すでに先頭にあるリストが、対象要素の検索前に再読み込みされなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, java
- 領域
- mobile-dev, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100