Skip to content Skip to sidebar Skip to footer

NullPointerException When Scrolling Fast

I'm trying to include category fields into my coustom ListView. It works fine until I start scrolling fast. When scrolling very slow this error doesn't occur. It's really confusing

Solution 1:

Declare

View view = null;

as instance variable in adapter class Your else part should look like this

else {
        view = convertView;
}
holder = (ViewHolder) convertView.getTag();

Post a Comment for "NullPointerException When Scrolling Fast"