0

これは私のコードです:

public View getView(int position, View convertView, ViewGroup parent) {
    View rowView = convertView;

    rowView = inflater.inflate(R.layout.adapter_movie_trailers, parent, false);

    final Trailer trailer = this.getTrailer(position);

    ImageView imageView = (ImageView) rowView
            .findViewById(R.id.adapter_movie_trailer_thumb);
    UrlImageViewHelper.setUrlDrawable(imageView, trailer.thumb,
            R.drawable.without_poster);

    TextView trailerTitle = (TextView) rowView
            .findViewById(R.id.adapter_movie_trailer_title);
    trailerTitle.setText(trailer.title);

    TextView trailerDuration = (TextView) rowView
            .findViewById(R.id.adapter_movie_trailer_duration);
    trailerDuration.setText(trailer.duration);

    notifyDataSetChanged();

    return rowView;
}

私のアプリは、rowView を膨張させようとしている間、無限ループになっているようです。なんで?

4

0 に答える 0