1

How to use One Class for Multiple Listview Item Clicks

view story
linux-howto

http://stackoverflow.com – This is my main code protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.layout_of_button); ImageButton btn1 = (ImageButton)findViewById(R.id.imageButton1); ImageButton btn2 = (ImageButton)findViewById(R.id.imageButton2); ImageButton btn3 = (ImageButton)findViewById(R.id.imageButton3); ImageButton btn4 = (ImageButton)findViewById(R.id.imageButton4); ImageButton btn5 = (ImageButton)findViewById(R.id.imageButton5); ImageButton btn6 = (ImageButton)findViewById(R.id.imageButton6); btn1.setOnClickListener(this); btn2.setOnClickListener(t (HowTos)