android / android/testing-samples
UIScrollable.getChildByDescription - reload data while executed scrollToBeginning in the method
- Ngôn ngữ chính
- Java
- Star
- 9.3k
- Fork
- 3.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue trỏ đến UiScrollable.java trong mã nguồn Android framework được liên kết và nêu getChildByDescription cùng scrollToBeginning. Trước tiên, hãy đọc scrollToBeginning, sau đó lần theo lời gọi của nó từ getChildByDescription; hoàn thành có nghĩa là một danh sách đã ở đầu không bị tải lại trước khi phần tử đích được tìm kiếm.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, java
- Lĩnh vực
- mobile-dev, testing
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100