ead7065c8e987fefca4d0d850d824fb7d7bce677 |
|
02-Oct-2014 |
Chet Haase <chet@google.com> |
stopleaks: Avoid leaking views in maps The logic in ViewPropertyAnimatorCompat causes circular references in WeakHashMap entries which prevent views from being collected in some situations, leading to leaked activities. This fix avoids that situation in two ways: - in Jellybean and later releases, the underlying framework methods are called directly, avoiding retaining the listeners completely. - Prior to Jellybean, the view is used as a holder for the listener via the internal tag mechanism. Additionally, we retain a reference to the ViewPropertyAnimtorCompat instance and stash references to the other callbacks there (actions and layer info). Issue #17728516 Appsupport retaining multiple copies of activity in Books app Change-Id: Ifd32bfe591f107dba77e818f6cd97f61c6227d45
/frameworks/support/v4/jellybean/android/support/v4/view/ViewPropertyAnimatorCompatJB.java
|
d7d27e9ebe5c7325e67e1a8af265378bd2056cad |
|
28-Feb-2014 |
Chet Haase <chet@google.com> |
Add animations to RecyclerView This CL adds the basic plumbing for animating item changes in RecyclerView. It also implements the bare essentials add/delete animations. When the app specifies that items have been added/removed (by calling the appropriate Adapter methods), the RecyclerView will determine the appropriate fading and moving animations to animate the items being added, removed, and moved into new locations. Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
/frameworks/support/v4/jellybean/android/support/v4/view/ViewPropertyAnimatorCompatJB.java
|
b1bfdf4c03d1b25959c5818805b997020f7ed085 |
|
15-May-2014 |
Chet Haase <chet@google.com> |
Revert "Add animations to RecyclerView" This reverts commit 33b18903168c177d65e3c2ef7398c1b2ca0c826f. Change-Id: I41664a375f9fc5fa878481b90cd2e61aad17f739
/frameworks/support/v4/jellybean/android/support/v4/view/ViewPropertyAnimatorCompatJB.java
|
33b18903168c177d65e3c2ef7398c1b2ca0c826f |
|
28-Feb-2014 |
Chet Haase <chet@google.com> |
Add animations to RecyclerView This CL adds the basic plumbing for animating item changes in RecyclerView. It also implements the bare essentials add/delete animations. When the app specifies that items have been added/removed (by calling the appropriate Adapter methods), the RecyclerView will determine the appropriate fading and moving animations to animate the items being added, removed, and moved into new locations. Change-Id: If70c09e7af168ce5963c785b5886a18c87a7dc98
/frameworks/support/v4/jellybean/android/support/v4/view/ViewPropertyAnimatorCompatJB.java
|