commit | 7ec2bd53bbd5fc113fea22920816ad45bf4e8d53 | [log] [tgz] |
---|---|---|
author | Wesley.CW Wang <wesleycwwang@google.com> | Fri Jun 05 17:07:23 2020 +0800 |
committer | Wesley.CW Wang <wesleycwwang@google.com> | Fri Jun 05 17:07:23 2020 +0800 |
tree | 65a720fd6025cfa61b32f499b0f913647db33156 | |
parent | 8ec4e7d06f7ea87252d1e1c98fa9e61613a42db3 [diff] |
Fix TB lose focus when recyclerview notify*Changed - Override getItemId(), set setHasStableIds to true and setItemAnimator to null to fix TalkBack when lose focus when receive notify*Changed() - Issue's history and workaround all from b/37088814 video: https://drive.google.com/file/d/1gEDOUTY3A2OMDWKgPGvxourXmW-p9D9K/view?usp=sharing Bug: 157007291 Test: manually, enable TB and test the result Change-Id: I042f65bbc8f26f5685d83f3253b3ffff8d78ca73