コード例 #1
0
 public void delete(String id) {
   ShowInfo match = getShowInfo(id);
   Log.d("DEBUG", "After remove in ShowsArrayAdapter");
   if (match != null) {
     this.remove(match);
     Log.d("DEBUG", "After match in remove " + match.getAsString());
   }
 }
コード例 #2
0
 public void update(ShowInfo showInfo) {
   ShowInfo match = getShowInfo(showInfo.getId());
   Log.d("DEBUG", "After update in ShowsArrayAdapter");
   if (match != null) {
     match.updateShowInfo(showInfo);
     Log.d("DEBUG", "After match in update " + match.getAsString());
     this.notifyDataSetChanged();
   }
 }