public void onButtonClicker(View v) { Intent intent; switch (v.getId()) { case R.id.btnTest1: intent = new Intent(this, VerbalSection1.class);//I want dialog code here startActivity(intent); break; case R.id.btnTest2: intent = new Intent(this, CustomRow.class);//I want dialog code here startActivity(intent); break; case R.id.btnTest3: intent = new Intent(this, CustomRow.class);//I want dialog code here startActivity(intent); break; case R.id.btnTest4: intent = new Intent(this, CustomRow.class);//I want dialog code here startActivity(intent); break; case R.id.btnTest5: intent = new Intent(this, CustomRow.class);//I want dialog code here startActivity(intent); break; case R.id.btnTest6: intent = new Intent(this, CustomRow.class);//I want dialog code here startActivity(intent); break; default: break; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)