why my lisview blinks when i perform notifydata setchange : This is the below code

    rowView.setOnClickListener(new View.OnClickListener() {
                       @Override
                       public void onClick(View v) {
                           for(int i=0;i<getCount();i++){
                               getItem(i).setSelected(false);
                           }
                           getItem(position).setSelected(true);
                           mSelectedOption=getItem(position);
                           notifyDataSetChanged();
                       }
                   });

my listview blinks when this code is executed.Is there any method to avoid this.