예제 #1
0
  /**
   * binds the data of this item onto the viewHolder
   *
   * @param viewHolder the viewHolder of this item
   */
  @Override
  public void bindView(ViewHolder viewHolder, List payloads) {
    super.bindView(viewHolder, payloads);

    // define our data for the view
    viewHolder.image.setIcon(mIcon);
    viewHolder.name.setText(mIcon.getName());
  }
예제 #2
0
 public IconicsBuilder styleFor(IIcon styleFor, CharacterStyle... styles) {
   return styleFor(styleFor.getName(), styles);
 }