@ Override public void onListScroll ( View view , float deltaY ) { int speed ; if ( view . getId ( ) == mListViewLeft . getId ( ) && ! isLeftListEnabled ) { speed = getSpeed ( false , deltaY ) ; mListViewRight . smoothScrollBy ( speed , 0 ) ; } else if ( view . getId ( ) == mListViewRight . getId ( ) && ! isRightListEnabled ) { speed = getSpeed ( true , deltaY ) ; mListViewLeft . smoothScrollBy ( speed , 0 ) ; } }
Receives the distance scroll on listView .