Android: styling ListView items from custom CursorAdapter?

I think this is just a case of the old issue of Android reusing views. By resetting the view and replacing where appropriate this can be fixed.

I am freshman to develope android applicarion. An odd issue is puzzled me for a lone time. I have a ListView in my application, and a customized CursorAdapter binds with the ListView.

Each row in ListView holds a ImageView, a TextView and a ProgressBar. I want to show some texts on the progressbar, therefore I use the method proposed in "How to Add Text Over a Progress Bar on Android ”. I follow the tutorial step by step.

I also implement the “Bonus Tip”in the tutorial mentioned above, which customizes the style of progressbar in a drawable xml file. It works well for the first row, but progreebar in other rows can not show the expected color. I have no idea if I miss something.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions