android / android/testing-samples
UIScrollable.getChildByDescription - reload data while executed scrollToBeginning in the method
- Langage dominant
- Java
- Étoiles
- 9.3k
- Forks
- 3.6k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue pointe vers UiScrollable.java dans le code source lié du framework Android et cite getChildByDescription et scrollToBeginning. Lisez d’abord scrollToBeginning, puis suivez son appel depuis getChildByDescription ; le travail est terminé lorsqu’une liste qui se trouve déjà au début n’est pas rechargée avant la recherche de l’élément cible.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, java
- Domaine
- mobile-dev, testing
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100