私GPUImageView
の. _ _ListView
画像は初めてフィルターを使用して完全にロードされてListView
いますが、下にスクロールすると、スクロールされたListView
すべてのセルが空白で表示されます。
getView(...)
これが私のカスタムのメソッドのコードですBaseAdapter
:
@Override
public View getView(int position, View convert_view, ViewGroup arg2) {
// TODO Auto-generated method stub
if(convert_view == null)
{
if(inflater == null)
inflater = (LayoutInflater) this.context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
convert_view = inflater.inflate( R.layout.filter_item , null);
}
TextView thumb_file_name_tv = (TextView) convert_view.findViewById(R.id.filter_item_thumb_tv);
GPUImageView thumb_giv = (GPUImageView) convert_view.findViewById(R.id.filter_item_thumb_giv);
Log.d(TAG, "Image Uri = "+imageUri);
thumb_file_name_tv.setText(""+filterNames.get(position).toString().trim());
thumb_giv.setFilter(new GPUImageSepiaFilter());
thumb_giv.setImage(imageUri); // this loads image on the current thread, should be run in a thread
thumb_giv.requestRender();
return convert_view;
}
ここで何が間違っているのか教えてください。
どんな助けでも大歓迎です。