Skip to content
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.

Changelog

Chris Banes edited this page Oct 2, 2012 · 12 revisions

Changelog

v1.4.x

1.4.1

  • New type of listener called OnPullEventListener. Allows you to be notified when a pull-event has occured.

  • Added new SoundPullEventListener which allows you easily add sound effects. See the PullToRefreshListActivity sample for an example. This is a reference implementation of OnPullEventListener.

  • Optimisations, designed to reduce View depth.

  • Added callbacks so you can change the animated scroll durations.

  • New XML attribute to change TextApperance of Header and SubHeader text. See the Customisation page for more info.

  • Support for AnimationDrawable as Loading Drawable.

  • Bug fixes: check commit log.

  • Extra: ListFragment: Added support for ListFragment, including a sample. Simply add the new library project to app!

1.4.0

  • OverScroll Support! Only works on devices v2.3 and above as we hook into standard Android OverScroll support. Enabled by default but can be disabled via XML or setPullToRefreshOverScrollEnabled().
  • Now built againt API 16 (Jelly Bean) so we can use postOnAnimation on those devices.
  • Convenience pass-through methods for setOnItemClickListener and setAdapter.
  • Fixed #114, #115 & #117.
  • Miscellaneous improvements.

v1.3.x

1.3.2

  • Added new PullToRefreshScrollView with sample
  • Fix Issue 101, which stopped onItemClick(…) working while refreshing

1.3.1

  • Added new parameter to OnRefreshListener's. This is a breaking change and will require you to make (small) changes to your apps. See this sample for an example. I apologise for breaking the API, this should have been added from the start.
  • Change Scroll Animation to 'overshoot'. Looks more natural.
  • Added option to disable scrolling when the 'Empty View' is shown. (thanks to pboos)
  • Sample Activities are now final. You should not be extending from them.
  • We now build against API Level 8. The library still runs fine on v1.6 and above.
  • New 'Disabled' Mode option which replaces the now deprecated setPullToRefreshEnabled method
  • Maven build fixes.
  • Fix #79, a bug where PullToRefresh wouldn't work if the ListView had Header Views, and it was empty.

1.3.0

  • New! Indicators that appear when a Pull-to-Refresh is available to the user. These are enabled by default, but can be disabled via XML or the setShowIndicator() method.
  • The Drawable used in the Header/Footer views has been changed. It is also completely customisable now via XML or the setLoadingDrawable method. See the GridView sample.
  • Cleaned up repository, moving content to Wiki pages.

v1.2.x

1.2.8

  • Fix Background colour when using custom colour with ListView (#67)
  • Fix bug where the ListView would also scroll to the bottom/top after refreshing (#67)
  • Ability to change mode via a method call (#10)
  • Ability to make filtering of touch events more lenient (setFilterTouchEvents)
  • Fixed Copyright Notices on Source

1.2.7

  • Fixed PullToRefreshWebView so that pulling from the bottom works (thanks nagoya0)
  • Can now display last update label using then new setLastUpdatedLabel() method (thanks Peter Elliott)
  • Strings are now separate for Pulling Up and Pulling Up views, necessary for certain languages. There also new label setter methods so you change each one separately.
  • Bug fixes, including #66, #62 and #64

1.2.6

  • Fixes for #44, #48, #49

1.2.5

  • Changed the custom attributes to be prefixed with 'ptr'. Should fixed compatibility with ActionBarSherlock v4.

1.2.4

  • Fix bug where Pulling Up stopped working with ListView (#43)
  • Fix bug where the Header/Footer's wouldn't be styled correctly on ListView (#42)
  • Add new Listener, OnRefreshListener2 which allows you to listen for Pull Up/Downs separately.

1.2.3.1

  • Properly fix not being able to Pull when the Empty View is show (#40)

v1.2.3

  • Fix Header View's being selectable (can cause FCs)
  • Force ListView Footer to be the last visible item (#41)
  • Fix not being able to Pull when the Empty View is show (#40)
  • Add Japanese Translations (thanks to nagoya0)

v1.2.2

  • String Updates (thanks to Steve Lhomme)
  • Add Missing Constructor (thanks to mcxiaoke)

v1.2.1

  • Fix bug where disabling scrolling has no effect when manual refreshing (thanks Maxim Galkin)

v1.2.0

  • New (better) way of handling Touch Events
  • Add new way for PullToRefreshListView to work. Allows the user to scroll while it's refreshing.
  • Fix Pull from Bottom happening when the view wasn't completely at the bottom
  • Allow outside code to update the Widget to be refreshing (see setRefreshing())
  • Fix Padding being doubled when added via XML
  • New Translations
Clone this wiki locally