diff --git a/.DS_Store b/.DS_Store index fb4cdad..7e3b286 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/bin/TweetView.apk b/bin/TweetView.apk index 651867a..672cc19 100644 Binary files a/bin/TweetView.apk and b/bin/TweetView.apk differ diff --git a/bin/classes.dex b/bin/classes.dex index 5a03649..9a39dfb 100644 Binary files a/bin/classes.dex and b/bin/classes.dex differ diff --git a/bin/com/example/Example.class b/bin/com/example/Example.class index 5cf4991..7eac412 100644 Binary files a/bin/com/example/Example.class and b/bin/com/example/Example.class differ diff --git a/bin/com/example/ImageManager$BitmapDisplayer.class b/bin/com/example/ImageManager$BitmapDisplayer.class index 5664624..f26ce37 100644 Binary files a/bin/com/example/ImageManager$BitmapDisplayer.class and b/bin/com/example/ImageManager$BitmapDisplayer.class differ diff --git a/bin/com/example/ImageManager$ImageQueue.class b/bin/com/example/ImageManager$ImageQueue.class index 860bfd0..9786a22 100644 Binary files a/bin/com/example/ImageManager$ImageQueue.class and b/bin/com/example/ImageManager$ImageQueue.class differ diff --git a/bin/com/example/ImageManager$ImageQueueManager.class b/bin/com/example/ImageManager$ImageQueueManager.class index 5d87801..99073f0 100644 Binary files a/bin/com/example/ImageManager$ImageQueueManager.class and b/bin/com/example/ImageManager$ImageQueueManager.class differ diff --git a/bin/com/example/ImageManager$ImageRef.class b/bin/com/example/ImageManager$ImageRef.class index 54fecd9..fadebc6 100644 Binary files a/bin/com/example/ImageManager$ImageRef.class and b/bin/com/example/ImageManager$ImageRef.class differ diff --git a/bin/com/example/ImageManager.class b/bin/com/example/ImageManager.class index 50277a4..2c86d04 100644 Binary files a/bin/com/example/ImageManager.class and b/bin/com/example/ImageManager.class differ diff --git a/bin/com/example/R$id.class b/bin/com/example/R$id.class index 745da2f..0f7719c 100644 Binary files a/bin/com/example/R$id.class and b/bin/com/example/R$id.class differ diff --git a/bin/com/example/R$layout.class b/bin/com/example/R$layout.class index 0a8b742..a9acf7b 100644 Binary files a/bin/com/example/R$layout.class and b/bin/com/example/R$layout.class differ diff --git a/bin/com/example/R$string.class b/bin/com/example/R$string.class index 7603828..4143709 100644 Binary files a/bin/com/example/R$string.class and b/bin/com/example/R$string.class differ diff --git a/bin/com/example/TweetItemAdapter$ViewHolder.class b/bin/com/example/TweetItemAdapter$ViewHolder.class index c7f2434..1accbbe 100644 Binary files a/bin/com/example/TweetItemAdapter$ViewHolder.class and b/bin/com/example/TweetItemAdapter$ViewHolder.class differ diff --git a/bin/com/example/TweetItemAdapter.class b/bin/com/example/TweetItemAdapter.class index 6865ec9..cb994d3 100644 Binary files a/bin/com/example/TweetItemAdapter.class and b/bin/com/example/TweetItemAdapter.class differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ index cd7a659..6e87b02 100644 Binary files a/bin/resources.ap_ and b/bin/resources.ap_ differ diff --git a/gen/com/example/R.java b/gen/com/example/R.java index c064515..a5186f7 100644 --- a/gen/com/example/R.java +++ b/gen/com/example/R.java @@ -14,10 +14,11 @@ public static final class drawable { public static final int icon=0x7f020000; } public static final class id { - public static final int ListViewId=0x7f050003; + public static final int ListViewId=0x7f050004; public static final int avatar=0x7f050000; - public static final int message=0x7f050002; - public static final int username=0x7f050001; + public static final int message=0x7f050003; + public static final int progress_bar=0x7f050001; + public static final int username=0x7f050002; } public static final class layout { public static final int listitem=0x7f030000; diff --git a/res/layout/listitem.xml b/res/layout/listitem.xml index 3dff3bc..38f95e9 100644 --- a/res/layout/listitem.xml +++ b/res/layout/listitem.xml @@ -7,12 +7,29 @@ android:paddingTop="5px" android:paddingLeft="5px"> - + + + android:visibility="gone" /> + + { @@ -31,6 +32,7 @@ public static class ViewHolder{ public TextView username; public TextView message; public ImageView image; + public ProgressBar progress; //ADDED } @Override @@ -45,6 +47,7 @@ public View getView(int position, View convertView, ViewGroup parent) { holder.username = (TextView) v.findViewById(R.id.username); holder.message = (TextView) v.findViewById(R.id.message); holder.image = (ImageView) v.findViewById(R.id.avatar); + holder.progress = (ProgressBar) v.findViewById(R.id.progress_bar); //ADDED v.setTag(holder); } else @@ -55,7 +58,7 @@ public View getView(int position, View convertView, ViewGroup parent) { holder.username.setText(tweet.username); holder.message.setText(tweet.message); holder.image.setTag(tweet.image_url); - imageManager.displayImage(tweet.image_url, activity, holder.image); + imageManager.displayImage(tweet.image_url, activity, holder.image, holder.progress); //CHANGED } return v; }