c0459105252a3db52bc44ad62ecff4288860180d |
|
05-May-2015 |
Yigit Boyar <yboyar@google.com> |
Export UI Compat class used by ItemTouchHelper If a developer wants to customize item touch interactions, they cannot use ItemTouchUICompat anymore so they have to handle translation, cleanup, API checks etc manually. This CL renames it to ItemTouchUIUtil, changes its API to work with views instead of ViewHolders and also makes it public. This way, developers can easly change which child views receive automatic changes. (e.g. only swipe the contents not the background). Bug: 20824812 Change-Id: I6303c270d398e21fb549ed5627dc175de10a3487
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchUIUtilImpl.java
|