title: Android final variable is no variable?
body: <p>I have a void like this:</p>
  
  <pre><code>public static void checkStateSignal(final int counter) {
      for (int l = 0; l &lt; counter; l += 10) {
          if (counter - l &lt; 9) {
  
              Handler handler = new Handler();
              handler.postDelayed(new Runnable() {
                  @Override
                  public void run() {
                  ArraySignal.LoggerStatus.get(counter) = separated[1];
                  }
              },150);
          } 
      }
  }
  </code></pre>
  
  <p>in which <code>ArraySignal</code> is a class and <code>Loggerstatus</code> is an <code>Arraylist</code>. I get an error on </p>
  
  <pre><code>ArraySignal.LoggerStatus.get(counter) = separated[1];
  </code></pre>
  
  <p>which is variable expected. So for some reason a final variable is not a variable and <code>ArrayList.get</code> doesn't want to get at a value position instead of a variable position which seems very illogical to me since you can get at a constant. Am i missing something? Also a solution for the problem would be very welcome.</p>