Android Open Source - Custom-SwipeListView On Undo Action Listener






From Project

Back to project page Custom-SwipeListView.

License

The source code is released under:

Apache License

If you think the Android project Custom-SwipeListView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 *  COPYRIGHT NOTICE  //w w  w . j av  a2 s.  c  om
 *  Copyright (C) 2015, xyczero <xiayuncheng1991@gmail.com>
 *  
 *    http://www.xyczero.com/
 *   
 *  @license under the Apache License, Version 2.0 
 *
 *  @file    OnUndoActionListener.java
 *  @brief   Custom Swipe Undo Action Listener Interface
 *  
 *  @version 1.0     
 *  @author  xyczero
 *  @date    2015/01/12    
 */
package com.xyczero.customswipelistview;

/**
 * That is the bridge between a {@link CustomSwipeBaseAdapter} and a
 * {@link CustomSwipeUndoDialog} that listens revocation event.
 * 
 * @author xyczero
 * 
 */
public interface OnUndoActionListener {

  /**
   * Revocation event to be canceled.
   */
  public void noExecuteUndoAction();

  /**
   * Revocation event to be executed.
   */
  public void executeUndoAction();
}




Java Source Code List

com.xyczero.customswipelistview.CustomSwipeBaseAdapter.java
com.xyczero.customswipelistview.CustomSwipeBaseAdapter.java
com.xyczero.customswipelistview.CustomSwipeListView.java
com.xyczero.customswipelistview.CustomSwipeListView.java
com.xyczero.customswipelistview.CustomSwipeUndoDialog.java
com.xyczero.customswipelistview.CustomSwipeUndoDialog.java
com.xyczero.customswipelistview.CustomSwipeUtils.java
com.xyczero.customswipelistview.CustomSwipeUtils.java
com.xyczero.customswipelistview.OnUndoActionListener.java
com.xyczero.customswipelistview.OnUndoActionListener.java