• Home
  • History
  • Annotate
  • only in /frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
History log of /frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
temTouchHelper.java
temTouchUICompat.java
temTouchUIUtil.java
temTouchUIUtilImpl.java
e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950 06-Jan-2015 Yigit Boyar <yboyar@google.com> Item touch interactions helper class

Notice: TBR, APIs may change

This CL adds a component that can attach to any RecyclerView
and add support for Drag & Drop and Swiping.

It assumes some defaults based on the scroll orientation of
the LayoutManager but can also be extended to customize behavior.

Bug: 18889496
Change-Id: I7aede2084efa599552e053596661fa58b2685d10
temTouchHelper.java
temTouchUICompat.java