wish helps you This will in any case be a tradeoff between lag and stability. Check your data. You may find that the jerking is because of low resolution in Kinect. If so the jerking distance will be determined at how close you are to the Kinect cameras. When you are too far away the camera resolution is too low and it will keep bouncing between one or two pixels (stereo cams).
Is it possible to disable scrolling ListView through drags in Android?
this one helps. you can implement a onScrollListener on your listView which will always set the position to the first visible item in the list for all the methods except fling where it wont do anything. Implementation is simple. just setOnScrollListener to a listview reference and the listView has a method to get the first visible position.
ListView in android behaves very jerky in android using custom Adapter
File cacheDir = StorageUtils.getOwnCacheDirectory(a, "your folder");
// Get singletone instance of ImageLoader
imageLoader = ImageLoader.getInstance();
// Create configuration for ImageLoader (all options are optional)
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(a)
// You can pass your own memory cache implementation
.discCache(new UnlimitedDiscCache(cacheDir)) // You can pass your own disc cache implementation
// Initialize ImageLoader with created configuration. Do it once.
options = new DisplayImageOptions.Builder()
.showStubImage(R.drawable.stub_id)//display stub image
imageLoader.displayImage(imageurl, image,options);//provide imageurl, imageview and options
fixed the issue. Will look into that further An easy solution is to just use onTouch(). Look for ACTION_UP and ACTION_DOWN. Store the position of the touch in ACTION_DOWN, and in ACTION_UP if the distance between the touch and the stored touch are < X then fire a custom click event, otherwise fire the drag event.