1

I wanted to ask can I implement pull-down refresh option on a linear layout control, I have read this & other examples also but they all are for "ListView" control.

Community
  • 1
  • 1
KhanZeeshan
  • 1,410
  • 5
  • 23
  • 36
  • 2
    Have a look at [Chris Banes' pull-to-refresh implementation](https://github.com/chrisbanes/Android-PullToRefresh/tree/master/library/src/com/handmark/pulltorefresh/library), which is available for several views, including `ListView`, `GridView`, `ScrollView` and `WebView`. You might be able to simple use the `ScrollView` version and wrap that around your `LinearLayout`. Alternatively it should be relatively easy to implement your own using the building blocks in that library. – MH. Dec 28 '12 at 21:39

1 Answers1

1

@MH

Have a look at Chris Banes' pull-to-refresh implementation, which is available for several views, including ListView, GridView, ScrollView and WebView. You might be able to simple use the ScrollView version and wrap that around your LinearLayout. Alternatively it should be relatively easy to implement your own using the building blocks in that library.

This Worked for me.

KhanZeeshan
  • 1,410
  • 5
  • 23
  • 36