For various Android applications, I need large ListViews, i.e. such views with 100-300 entries.
All entries must be loaded in bulk when the application
A small piece of advice would be to disable loading of images when a fling occurs.
dirty HACK to make everything faster:
In your Adapter's getItemViewType(int position), return the position:
@Override
public long getItemViewType(int position) {
return position;
}
@Override
public long getViewTypeCount(int position) {
return getCount();
}
@Override
public View getView(int position, View convertView, ViewGroup arg2) {
if (convertView == null) {
//inflate your convertView and set everything
}
//do not do anything just return the convertView
return convertView;
}
ListView will decide the amount of images to cache.