in this line am getting NullPointerException can any one help me to fix this
Button up[];
up[0] = (Button) findViewById(R.id.adultup1);
up[0].setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {}
in this line am getting NullPointerException can any one help me to fix this
Button up[];
up[0] = (Button) findViewById(R.id.adultup1);
up[0].setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {}