ListView very slow when scrolling (using ViewHolder/recycling)

后端 未结 10 491

I\'m back at trying out some Android dev again. I have an \"old\" HTC Hero phone lying around, so I booted that one up, did some updates and are now up n running again with Ecli

10条回答
  •  感情败类
    2021-02-02 16:59

    I just discovered this and I wanna share it with you guys.

    I tried ALL the solutions provided but nothing worked. What was causing the problem is the length of the text I am feeding one of my TextView views because i'm using

    mTextView.SetText(theLongString)
    

    in my adapter in my getView method. Now that I shrinked my String, the listview is VERY smooth :)

提交回复
热议问题