コード例 #1
0
  @Override
  public View getView(int position, View view, ViewGroup parent) {
    LayoutInflater inflater = context.getLayoutInflater();
    View rowView = inflater.inflate(R.layout.realmlist_view_item_single, null, true);

    ((TextView) rowView.findViewById(R.id.realmSelectorName))
        .setText(this.realmData.realmNames.get(position));
    ((TextView) rowView.findViewById(R.id.realmBuildSelector))
        .setText(realmData.GetVersionString(position));

    return rowView;
  }
コード例 #2
0
 public void UpdateData(GruntPacket packet) {
   realmData.UpdateData(packet);
 }