error on Button.setOnClickListener(listener);
<pre><code>private int ServiceLeft;
private int ServiceRight;
private int Services;

final TextView countTextViewPlusL = (TextView) findViewById(R.id.TextViewCountL);
final Button ServiceButtonLeft = (Button) findViewById(R.id.ButtonServiceLeft);
final TextView countTextViewPlusR = (TextView) findViewById(R.id.TextViewCountR);
final Button ServiceButtonRight = (Button) findViewById(R.id.ButtonServiceRight);

ServiceButtonLeft.setOnClickListener(listener);
ServiceButtonRight.setOnClickListener(listener);

View.OnClickListener listener = new View.OnClickListener() {
    public void onClick(View v) {
        switch(v.getId()) {
            case R.id.ButtonServiceRight:
                ServiceRight++;
                break;
            case R.id.ButtonServiceLeft:
                ServiceLeft++;
                break;
        }

        if(Services % 2 == 0) {
            getDrawable(R.drawable.test);
        }
    }
};
</code></pre>

<p>i get an error on these 2 lines: on the word "listener"</p>

<pre><code>ServiceButtonLeft.setOnClickListener(listener);
ServiceButtonRight.setOnClickListener(listener);
</code></pre>
