--- android/Side9/src/dk/thoerup/side9/ImageAdapter.java 2011/02/09 07:14:53 1223 +++ android/Side9/src/dk/thoerup/side9/ImageAdapter.java 2011/02/09 17:39:54 1224 @@ -6,7 +6,7 @@ import java.io.IOException; import java.io.RandomAccessFile; import java.util.ArrayList; -import java.util.Collection; + import java.util.Collections; import android.content.Context; @@ -123,15 +123,17 @@ this.notifyDataSetChanged(); } - + @Override public int getCount() { return mImages.size(); } + @Override public Object getItem(int position) { return position; } + @Override public long getItemId(int position) { return position; } @@ -155,6 +157,7 @@ } } + @Override public View getView(int position, View convertView, ViewGroup parent) { if (position >= mImages.size()) {