Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
Thanks for your help. On 20/04/2010 15:37, Mark Murphy wrote: Tom F M White wrote: TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout {

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Mark Murphy
Tom F M White wrote: > TripleText is just an object for storing 4 strings, 3 for the text, 1 > for the image URL. Rest of the code follows, sorry it's quite long... > > TripleTextView: > > public class TripleTextView extends LinearLayout { > > private TextView mText1; > private TextView

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout { private TextView mText1; private TextView mText2; private TextView mText3;

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Martin Obreshkov
Can you paste some code On Tue, Apr 20, 2010 at 5:19 PM, Tom F M White wrote: > I've made a custom ListAdaptor, with associated View, that displays an icon > on the left of each list item, with three lines of text to the right. In > MyView.onCreate(), the icons are populated using > imageView.se

[android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
I've made a custom ListAdaptor, with associated View, that displays an icon on the left of each list item, with three lines of text to the right. In MyView.onCreate(), the icons are populated using imageView.setImageDrawable(Drawable.createFromStream(URL)); each item on the list is it's own obj