title: Update a listview item row but on scroll the modifications don't remain
body: <p>I have a ListView in an Android Activity and a custom adapter for that listview.
  I want to be able to edit a row item and update that row instantly. This works, the modifications of the row is seen But, on scroll i loose all data. 
  This is my Asynk task from where i get the data and update the list row item:</p>
  
  <pre><code>/**
   * 
   */
  public class EditNewsFeedPostAsyncTask extends AsyncTask&lt;Void, Void, Boolean&gt; {
  
  
      public Activity context;
      public String content;
      public int rowPosition;
      public ListView listView;
      public TextView decriptionTxt;
  
  
      @Override
      protected Boolean doInBackground(Void... params) {
  
          try {
              token = Utils.getToken(context);
  
              if (token != null) {
                  ....
                  // {"status":"true"}
                  if (result != null) {
                      ....
                  }
              }
          } catch (Exception e) {
              e.printStackTrace();
          }
  
          return true;
      }
  
      @Override
      protected void onPostExecute(final Boolean success) {
          if (success) {
              updateListView(rowPosition, content);
          }
      }
  
      public boolean updateListView(int position, String content) {
          int first = listView.getFirstVisiblePosition();
          int last = listView.getLastVisiblePosition();
          if (position &lt; first || position &gt; last) {
              return false;
          } else {
              View convertView = listView.getChildAt(position - first);
              decriptionTxt.setText(content);
              listView.invalidateViews();
              return true;
          }
      }
  
      private void updateView(int index, TextView decriptionTxt) {
          View v = listView.getChildAt(index - listView.getFirstVisiblePosition());
  
          if (v == null)
              return;
  
          decriptionTxt.setText(content);
          listView.invalidateViews();
      }
  
      @Override
      protected void onPreExecute() {
          super.onPreExecute();
      }
  
      @Override
      protected void onCancelled() {
      }
  }
  </code></pre>
  
  <p>What am i missing? shouldn't the data be persistent?
  Thx</p>