I have a Custom ListView in my application and it has some TextViews inside it to which the styles are provided at run time. When I scroll down the ListView and again scroll up, the styles given previously to the TextView changes to some different style.
Is there any way to prevent this?
I think, putting all the code here will make the page look ugly. So kindly follow these links for code-
I found a way to fix it. Just set the TextView with some default style in the “Convert View” like
in the ViewHolder constructor and in your method you use to set the elements to default state.