Lines Matching defs:ItemTouchHelper

61  * {@link ItemTouchHelper.Callback} class or implementing {@link ItemTouchHelper.ViewDropHandler}
64 * By default, ItemTouchHelper moves the items' translateX/Y properties to reposition them. On
65 * platforms older than Honeycomb, ItemTouchHelper uses canvas translations and View's visibility
75 public class ItemTouchHelper extends RecyclerView.ItemDecoration
113 * ItemTouchHelper is in idle state. At this state, either there is no related motion event by
144 private static final String TAG = "ItemTouchHelper";
205 * Developer callback which controls the behavior of ItemTouchHelper.
417 * Creates an ItemTouchHelper that will work with the given Callback.
419 * You can attach ItemTouchHelper to a RecyclerView via
425 public ItemTouchHelper(Callback callback) {
437 * Attaches the ItemTouchHelper to the provided RecyclerView. If TouchHelper is already
1011 * Starts dragging the provided ViewHolder. By default, ItemTouchHelper starts a drag when a
1013 * {@link ItemTouchHelper.Callback#isLongPressDragEnabled()}.
1018 * ItemTouchHelper
1020 * <li>{@link ItemTouchHelper.Callback} must have dragging enabled.</li>
1021 * <li>There must be a previous touch event that was reported to the ItemTouchHelper
1042 * @see ItemTouchHelper.Callback#isItemViewSwipeEnabled()
1051 + "the RecyclerView which is controlled by this ItemTouchHelper.");
1060 * Starts swiping the provided ViewHolder. By default, ItemTouchHelper starts swiping a View
1063 * by overriding {@link ItemTouchHelper.Callback}
1068 * ItemTouchHelper is attached.</li>
1069 * <li>{@link ItemTouchHelper.Callback} must have swiping enabled.</li>
1070 * <li>There must be a previous touch event that was reported to the ItemTouchHelper
1098 + "the RecyclerView controlled by this ItemTouchHelper.");
1270 * {@link ItemTouchHelper}.
1275 * Called by the {@link ItemTouchHelper} after a View is dropped over another View.
1297 * This class is the contract between ItemTouchHelper and your application. It lets you control
1308 * If user drags an item, ItemTouchHelper will call
1322 * When a View is swiped, ItemTouchHelper animates it until it goes out of bounds, then calls
1488 * {@link ItemTouchHelper}.
1498 * @param recyclerView The RecyclerView to which ItemTouchHelper is attached.
1561 * @param recyclerView The RecyclerView to which ItemTouchHelper is attached to.
1573 * Called when ItemTouchHelper wants to move the dragged item from its old position to
1576 * If this method returns true, ItemTouchHelper assumes {@code viewHolder} has been moved
1583 * @param recyclerView The RecyclerView to which ItemTouchHelper is attached to.
1595 * Returns whether ItemTouchHelper should start a drag and drop operation if an item is
1601 * @return True if ItemTouchHelper should start dragging an item when it is long pressed,
1610 * Returns whether ItemTouchHelper should start a swipe operation if a pointer is swiped
1616 * @return True if ItemTouchHelper should start swiping an item when user swipes a pointer
1625 * When finding views under a dragged view, by default, ItemTouchHelper searches for views
1652 * dragged. After a view is moved this amount, ItemTouchHelper starts checking for Views
1664 * Called by ItemTouchHelper to select a drop target from the list of ViewHolders that
1754 * ItemTouchHelper will keep a reference to the View until it is detached from
1756 * As soon as it is detached, ItemTouchHelper will call
1772 * Called when the ViewHolder swiped or dragged by the ItemTouchHelper is changed.
1778 * @param actionState One of {@link ItemTouchHelper#ACTION_STATE_IDLE},
1779 * {@link ItemTouchHelper#ACTION_STATE_SWIPE} or
1780 * {@link ItemTouchHelper#ACTION_STATE_DRAG}.
1801 * ItemTouchHelper does not create an extra Bitmap or View while dragging, instead, it
1818 * @param recyclerView The RecyclerView controlled by the ItemTouchHelper.
1866 List<ItemTouchHelper.RecoverAnimation> recoverAnimationList,
1870 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i);
1885 List<ItemTouchHelper.RecoverAnimation> recoverAnimationList,
1889 final ItemTouchHelper.RecoverAnimation anim = recoverAnimationList.get(i);
1916 * Called by the ItemTouchHelper when the user interaction with an element is over and it
1925 * @param recyclerView The RecyclerView which is controlled by the ItemTouchHelper.
1933 * Called by ItemTouchHelper on RecyclerView's onDraw callback.
1940 * ItemTouchHelper also takes care of drawing the child after other children if it is being
1947 * @param recyclerView The RecyclerView to which ItemTouchHelper is attached to
1967 * Called by ItemTouchHelper on RecyclerView's onDraw callback.
1974 * ItemTouchHelper also takes care of drawing the child after other children if it is being
1981 * @param recyclerView The RecyclerView to which ItemTouchHelper is attached to
2001 * Called by the ItemTouchHelper when user action finished on a ViewHolder and now the View
2012 * @param recyclerView The RecyclerView to which the ItemTouchHelper is attached to.
2033 * Called by the ItemTouchHelper when user is dragging a view out of bounds.
2041 * @param recyclerView The RecyclerView instance to which ItemTouchHelper is attached
2085 * ItemTouchHelper mIth = new ItemTouchHelper(
2086 * new ItemTouchHelper.SimpleCallback(ItemTouchHelper.UP | ItemTouchHelper.DOWN,
2087 * ItemTouchHelper.LEFT) {
2153 * @param recyclerView The RecyclerView to which the ItemTouchHelper is attached to.
2166 * @param recyclerView The RecyclerView to which the ItemTouchHelper is attached to.