title: ListView selected item is not hold when scrolling
body: <p>i using listview. i wrote custom adapter. i changed background color when listview item select. But i do not hold selected position when scrolling. Please help me</p>
  
  <p>Thank you.</p>
  
  <pre><code>    listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
              view.setBackgroundColor(color);
          }
      });
  
  class OrderSummaryAdapter extends AppBaseAdapter{
      private ViewHolder holder;
  
      public OrderSummaryAdapter(Context context, List&lt;OrderItem&gt; item) {
          super(context, item);
      }
  
      @Override
      public View getView(final int position, View convertView, ViewGroup parent) {
          if(convertView == null){
              holder = new ViewHolder();
              convertView = inflater.inflate(R.layout.example_layout, parent, false);
              holder.text = (TextView) convertView.findViewById(R.id.eat_name);
              convertView.setTag(holder);
          }
          else {
              holder = (ViewHolder) convertView.getTag();
  
          }
  
          holder.text.setText("text");
  
          return convertView;
      }
  
      class ViewHolder{
          TextView text;
      }
  }
  </code></pre>