title: Android TextView issue in run()
body: <pre><code>class BTCSync extends Thread{
          public void run(){
              while(!BTC &amp;&amp; MainPage.BTC){
                  TextView BTCPer = (TextView) findViewById(R.id.lblBTCPer);
                  BTCPer.setText(BTCProgress+"%");
                  if(BTCProgress == 100) {
                      BTCPer.setText("100%");
                      BTC = true;
                  }
              }
          }
      }
  </code></pre>
  
  <p>The error is where <code>findViewById</code> my label is lblBTCPer.</p>
  
  <p>The reason I have it in <code>run()</code> is that this block needs to run until the value hits 100.</p>
  
  <p>I know that usually, you would have to throw in the View v but then it would negate the void run().</p>
  
  <p>I looked for a few solutions but I haven't found a working example. </p>
  
  <p>I also believe I posted this already just yesterday but I can't seem to find it anywhere. It's not under my account and I distinctly remember posting it and waiting for responses.</p>