commit | 6490644b4d37667a73d2e48450d1de9297c3bf0b | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Mon Aug 25 13:27:40 2014 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Wed Aug 27 13:31:24 2014 -0700 |
tree | c6abb4d2d360a488d26d22a19a7f2c5229819aff | |
parent | 1a95b1a6f3d1c2ed237fd678e1d8c88c2aae97df [diff] |
Use a weak observable in AutoCompleteTextView If adapter has longer life span than AutoCompleteTextView, it may leak the View. This change prevents it by using a static observer with a weak reference to the actual TextView. Bug: 11287688 Change-Id: I2c9db94dfa1be3b3f5368406e557f3e8e34bbce9