title: want to set strike in textview in listview
body: <p>I have ListView in which I have to display TextView with custom layout. I'm displaying the list of task with due date. Now I want to set strike effect on text of TextView which have due date was after with current date I am able to set but as I have scroll the view it's change means its set on today's date or tomorrow's date task.</p>
  
  <p>here is my code :</p>
  
  <pre><code>@Override
   public View getView(int position, View convertView, ViewGroup parent) {
       View view;
  
       Date due_date = new Date(due_date_long);
  
       if (convertView == null) {
           view = mInflater.inflate(R.layout.tasks_row2, null);
           ViewHolder holder = new ViewHolder();
           holder.text1 = (TextView) view.findViewById(R.id.label);//Task Title
           view.setTag(holder);
       }else{
           view = convertView;
       }
       ViewHolder holder = (ViewHolder) view.getTag();
       holder.text1.setText(task_title);
       //if(YESTERDAY.equals(task_date))
       if(cur_date.after(due_date))
           holder.text1.setPaintFlags(Paint.STRIKE_THRU_TEXT_FLAG);
  
      return view;
  }
  </code></pre>