コード例 #1
0
 public void removeFavorite(String fileNameWithPath) {
   FavoritePickItem favoritePickItem = new FavoritePickItem(fileNameWithPath);
   FavoritePickList.getInstance().remove(favoritePickItem);
 }
コード例 #2
0
 public void addFavorite(String fileNameWithPath, String title) {
   FavoritePickItem favoritePickItem = new FavoritePickItem(fileNameWithPath);
   favoritePickItem.setTitle(title);
   FavoritePickList.getInstance().add(favoritePickItem);
 }