コード例 #1
0
 @Override
 public void onDismiss(View view, int position, Object o) {
   if (null != listener && !hasUndoViews()) {
     listener.canNotify(true);
   }
   stopTimer(o);
   super.onDismiss(view, position, o);
 }
コード例 #2
0
 @Override
 public void onDismiss(ViewGroup listView, int[] reverseSortedPositions, HashSet<Object> removed) {
   if (null != listener && !hasUndoViews()) {
     listener.canNotify(true);
   }
   for (Object o : removed) {
     stopTimer(o);
   }
   super.onDismiss(listView, reverseSortedPositions, removed);
 }