title: Set button Enabled to false in Listview
body: <p>I want to disable my button in listview for that specific row after it is clicked.
  For now, I can disable it but after I restart the activity it became clickable again. Below is the code for my adapter. Please let me know how I can do it, Thanks!</p>
  
  <pre><code>public View getView(final int position, View view, ViewGroup viewGroup) {
          Typeface face_02 = Typeface.createFromAsset(context.getAssets(), "customfont/grb.otf");
          ViewHolder holder = new ViewHolder();
  
          if (view == null) {
              LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
              view = inflater.inflate(layout, null);
              holder.Boothname = (TextView) view.findViewById(R.id.Boothname);
              holder.buttonVote= (Button) view.findViewById(R.id.buttonvote);
  
              view.setTag(holder);
          } else {
              holder = (ViewHolder) view.getTag();
          }
          BoothClassFunAward product = productList.get(position);
  
          holder.Boothname.setText(product.getBoothName());
          holder.Boothname.setTypeface(face_02);
          holder.buttonVote.setTypeface(face_02);
  
          final ViewHolder finalHolder = holder;
  
  
          holder.buttonVote.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  finalHolder.buttonVote.setText("Completed");
                  Intent intent2 = new Intent(context, ProgramActivity.class);
                  context.startActivity(intent2);
              }
      });
          return view;
      }
  </code></pre>