Referencing a SeekBar in getView()

view story

http://stackoverflow.com – For an app I am developing, I want a ListView with a SeekBar in every row. For this I have a custom adapter with the following code: public View getView(int position, View convertView, ViewGroup parent) { ... mSeekBar = (SeekBar) listItem.findViewById(R.id.seekbar); mSeekBar.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser){ } public void onStartTrackingTouch(SeekBar seekBar) { MainClass.mHandler.removeCallbacks(MainClass.mUpdateTimeTask); (HowTos)