On Wed, Jun 29, 2011 at 10:44 PM, NikolaMKD <[email protected]> wrote:
> http://pastebin.com/eAWVYcq4
>
> Here is my code how  I fill my listview. Everything works good, as
> long as listview is filled with enough items to scroll. And when you
> scroll the hidden items are refilled with random strings from the list
> that is used for filling the listview items (see code)

Your getView() method is broken: don't append text,
use setText() to replace it. Probably not a good idea to call
setTextSize() every time either, if it doesn't change, set it
in the layout. You might want to move getSystemService() out
of getView() too.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to