예제 #1
0
 public Bitmap get(ListItem item, int size) {
   if (item instanceof Contact) {
     return get((Contact) item, size);
   } else if (item instanceof Bookmark) {
     Bookmark bookmark = (Bookmark) item;
     if (bookmark.getConversation() != null) {
       return get(bookmark.getConversation(), size);
     } else {
       return get(bookmark.getDisplayName(), size);
     }
   } else {
     return get(item.getDisplayName(), size);
   }
 }