134135136137138139140141142143144145146
private void notifyListeners(int action, ListItem f) { int len = this.listeners.size(); for(int i=0; i<len; i++){ SelectedFileListListener l = this.listeners.get(i); if(action == FILE_ADDED){ l.fileAdded(f); }else{ l.fileRemoved(f); } } }