コード例 #1
0
  @Override
  protected View getSuccessView() {
    TextView listView = new TextView(GooglePlayApplication.getContext());

    listView.setText("1111111");
    return listView;
  }
コード例 #2
0
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {

    if (convertView == null) {
      convertView =
          View.inflate(GooglePlayApplication.getContext(), R.layout.software_adapter_item, null);
    }
    ViewHolder holder = ViewHolder.getHolder(convertView);

    Favorite favorite = list.get(position);

    holder.tv_software_item.setText(favorite.getTitle());

    return convertView;
  }