title: Previous Data is Getting Updated After Scrolling in Recyclerview
body: <p>I am working on Recyclerview Adapter, My Recyclerview item has 1 textView and 1 Button,</p>
  
  <p>If I click on Button, the TextView Value is <strong><em>Hi</em></strong> it should change to <strong><em>Hello</em></strong> on Recyclerview item. 
  On Button Click The TextView Value is changing properly..(i.e Changing from <strong><em>Hi</em></strong> to <strong><em>Hello</em></strong>)</p>
  
  <p><strong>Problem is when I scroll the recyclerview,</strong> after scrolling it shows Previous value again(i.e showing <strong><em>Hi</em></strong> again).</p>
  
  <p>I know there is lot of similar questions being asked on stack overflow &amp; I've tried most of them but nothing seems to work in my case.</p>
  
  <p><strong><em>My Problem is Solved, Added Working Code.(Added Below Line)</em></strong></p>
  
  <p><em>listNet.set(position, new NetData(VALUE));</em></p>
  
  <p><em>notifyItemChanged(position);</em></p>
  
  <pre><code>public class NetAdapter extends RecyclerView.Adapter&lt;NetAdapter.MyViewHolder&gt; {
  
      Context context;
      List&lt;NetData&gt; listNet;
  
      public NetAdapter(Context context, ArrayList&lt;NetData&gt; listNet){
          this.context = context;
          this.listNet = listNet;
      }
  
      @SuppressLint("ResourceAsColor")
      @Override
      public void onBindViewHolder(@NonNull final MyViewHolder holder, final int position){
  
          final NetData netData=listNet.get(position);
  
          holder.tv.setText(netData.dnetqty);
          holder.btn.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v){
                  String VALUE = "Hello"
                  holder.tv.setText(VALUE); //Changing Text from Hi to Hello
                  //Edited Answer
                  listNet.set(position, new NetData(VALUE));
                  notifyItemChanged(position);              
              }
          });
      }
  
      public class MyViewHolder extends RecyclerView.ViewHolder {
  
          Button btn;
          TextView tv;
          public MyViewHolder(View itemView){
  
              super(itemView);
              btn=itemView.findViewById(R.id.btn);
              tv=itemView.findViewById(R.id.tv);
          }
      }
  
      @NonNull
      @Override
      public MyViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType){
  
          LayoutInflater inflater = LayoutInflater.from(parent.getContext());
          View view = inflater.inflate(R.layout.item_recyclerview, parent, false);
  
          return new MyViewHolder(view);
      }
  
      @Override
      public int getItemCount(){
          return listNet.size();
      }
  
  }
  </code></pre>
  
  <p>I want that, After Changing the TextView Value, the value should be constant it should not change after the Scrolling..</p>
  
  <p>Thank You..</p>