
com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.DismissableManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library Show documentation
Show all versions of library Show documentation
ListViewAnimations library
The newest version!
package com.nhaarman.listviewanimations.itemmanipulation.swipedismiss;
/**
* An interface to specify whether certain items can or cannot be dismissed.
*/
public interface DismissableManager {
/**
* Returns whether the item for given id and position can be dismissed.
* @param id the id of the item.
* @param position the position of the item.
* @return true if the item can be dismissed, false otherwise.
*/
public boolean isDismissable(long id, int position);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy