Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use overscroll functionality for listview?

Android's new Overscroll functionality introduced in Gingerbread and discovered some more interesting things. The functionality to make a a view scroll beyond its limits and then bounce back (almost exactly like iOS) is sort of built into the framework, but just hidden.

http://www.youtube.com/watch?v=dOyWCDhlxv8&feature=player_embedded

like image 777
Chirag Shah Avatar asked Oct 18 '11 06:10

Chirag Shah


People also ask

Does ListView have scroll?

A ListView in Android is a scrollable list used to display items.

Is List view scrollable by default?

ListView itself is scrollable.

What is the difference between ScrollView and ListView?

ScrollView is used to put different or same child views or layouts and the all can be scrolled. ListView is used to put same child view or layout as multiple items. All these items are also scrollable. Simply ScrollView is for both homogeneous and heterogeneous collection.


1 Answers

According to the android developers visit the following link. http://developer.android.com/reference/android/widget/AbsListView.html#setOverScrollMode(int)

the doc says you have to use following method.

public void setOverScrollMode (int mode)
like image 98
Ashwin N Bhanushali Avatar answered Oct 22 '22 23:10

Ashwin N Bhanushali