commit | db0b1afb71440b79923692d58adee982b5954838 | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Tue Apr 28 17:48:31 2015 -0700 |
committer | Dake Gu <dake@google.com> | Tue Apr 28 17:49:24 2015 -0700 |
tree | 23f7a8c780fd639e2d22169fdbfbf5da9ec7ac92 | |
parent | 227c05111857a600ca33f5514da175dd6cbb7dfa [diff] |
fix bug of wrong selection when itemAdded is triggered When items are added at the same time that setSelection() is called, we incorrectly apply the offset to the position that user wants to select. Disable the offset when target view hasn't created yet. Bug 20672263 Change-Id: Iaf990b58109d005ef04d9a47029e5c0a493bb8c3