commit | 5a1356916d40321736e336004aba31c39d6d6995 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Jul 10 10:02:58 2015 -0700 |
committer | John Reck <jreck@google.com> | Fri Jul 10 10:08:01 2015 -0700 |
tree | fd2730cbc58b9dbdf873c6b866f6d7760cca3aed | |
parent | 9613e9b76410b15b7f2700080a17476bf9f3461c [diff] |
Improve ImageView drawable re-use Bug 22403868 Initial attempt only helped if setImageBitmap() was the only thing called but during new-loading content it's common for a placeholder to be set via setImageDrawable. Tweak ImageView slightly to just have a BitmapDrawable that it lazy-creates but will hold on to for any subsequent calls to setImageBitmap Change-Id: I7380521c7b363d458e4cda041f1f8b2b1fb3a93a