Method one by reflection:
Code:
class clsclass = listview.getclass (). Getsuperclass (); if (Clsclass == null) {           LOG.D ("tag", "null"); }else { LOG.D ("tag", "Not null"); if ( Clsclass == abslistview.class) {      LOG.D ("tag", "Abslistview"); try { Field minField = AbsListView.class.getDeclaredField ("MMinimumvelocity "); field maxfield = abslistview.class.getdeclaredfield (" Mmaximumvelocity "); minfield.setaccessible (True); maxfield.setaccessible (True); try {          LOG.D ("tag", "min:" + minfield.get ( ListView)); &nbsP LOG.D ("tag", "Max:" + maxfield.get (ListView)); maxfield.set ( listview, 2000); } catch (illegalargumentexception e) { // TODO Auto-generated catch block e.printstacktrace (); } catch (illegalaccessexception e) { // todo auto-generated catch block e.printstacktrace (); } } catch (nosuchfieldexception e) { // TODO Auto-generated catch block e.printstacktrace (); } }else {             LOG.D ("tag", "not Abslistview "); } }
Mminimumvelocity is the sliding minimum speed,
Mmaximumvelocity is the maximum speed of sliding
Android UI Effects related-listview (i)