title: How to Set Viewholder Text in BaseAdapter?
body: <p>In my <code>GetView()</code> method of my <code>BaseAdapter</code> class... I have a view holder. When I click the <code>holder.feedUpVotebutton</code> The <code>feed.numOFLikes</code> Textview gets incremented. The problem is when I scroll down and scroll back up, the value is back to its original value. I refuse to call <code>notifydatasetChanged();</code> because I am not adding anything or removing anything from the list. </p>
  
  <pre><code>@Override
  public View getView(int i, View view, ViewGroup viewGroup) {
  
        likes = new int[GlobalFeedTab.arrayFeedList.size()];
        ViewHolder holder;
  
     if (view == null) {
  
           position = i;
          view = inflater.inflate(R.layout.feed_list_row, viewGroup, false);         
  
           holder = new ViewHolder();
           holder.feedNumOfLikes = (TextView) view.findViewById(R.id.feedNumofLikes);
                       holder.feedUpVoteButton = (Button) view.findViewById(R.id.feedUpVoteButton); 
           view.setTag(holder);
  
        }
     else if(view != null){
  
          position = i;
          holder = (ViewHolder) view.getTag();
  
     }
  
          HashMap&lt;String, String&gt; mFeed = new HashMap&lt;&gt;();   //Hashmap of data that I get from the MainActivity
          mFeed = GlobalFeedTab.arrayFeedList.get(position);
  
          holder.feedNumOfLikes.setText(mFeed.get("likes"));
           holder.feedUpVoteButton.setTag(position);
  
            holder.feedUpVoteButton.setOnClickListener(new View.OnClickListener() {
                          @Override
                          public void onClick(View v) {
  
                              int pos = (Integer) v.getTag();
                             ParseObject parseObFeed = objects.get(pos);                
  
                                  likes[pos] += 1;
                                  parseObFeed.put("likes", likes[pos]);
                                  holder.feedNumOfLikes.setText(String.valueOf(parseObFeed.getInt("likes")
                                  )); //This is where I set the Text
  
                                  parseObFeed.saveInBackground();
  
               }
          });
       }
  
  
   class ViewHolder {
  
      TextView feedNumOfLikes;
      Button feedUpVoteButton;    
  
  }
  </code></pre>