7

Android SeekBar not working in onCreateView

view full story
linux-howto

http://stackoverflow.com – in my MainActivity onCreateView i create a seek bar programatically (no xml) like this: mVolControlSB = new SeekBar(context); mVolControlSB.setMax(maxVolume); mVolControlSB.setProgress(curVolume); mVolControlSB.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { @Override public void onStopTrackingTouch(SeekBar arg0) { Log.d("MainActivity", "volControlSB.setOnSeekBarChangeListener onStopTrackingTouch arg0="+arg0); } @Override public void onStartTrackingTouch(SeekBar arg0) { Log.d("MainActivity" (HowTos)