Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

android-pulltorefresh

> 编程语言
Open source

DEPRECATED This project aims to provide a reusable pull to refresh widget for Android.

2.5K stars0 likes2 views
WebsiteGitHub

About

DEPRECATED This project aims to provide a reusable pull to refresh widget for Android.

Pull To Refresh for Android

Note This library is deprecated, a swipe refresh layout is available in the v4 support library.


This project aims to provide a reusable pull to refresh widget for Android.

Repository at https://github.com/johannilsson/android-pulltorefresh.

Usage

Layout

xml

<com.markupartist.android.widget.PullToRefreshListView
    android:id="@+id/android:list"
    android:layout_height="fill_parent"
    android:layout_width="fill_parent"
    />

Activity

…

Last Updated

It's possible to add a last updated time using the method setLastUpdated and onRefreshComplete. The text provided to these methods will be set below the Release to refresh text. Note that the time representation is not validated replaces the previous text, which means that it's possible and recommended to add a text similar to "Last Update: 15:23". This might be changed in future versions.

1.5 Support

To use the widget on 1.5 the necessary drawables needs to be copied to that projects drawable folder. The drawables needed by the widget can be found in the drawable-hdpi folder in the library project.

Contributors

  • Jason Knight - https://github.com/synthable
  • Eddie Ringle - https://github.com/eddieringle
  • Christof Dorner - https://github.com/chdorner
  • Olof Brickarp - https://github.com/coolof
  • James Smith - https://github.com/loopj
  • Alex Volovoy - https://github.com/avolovoy
  • Bo Maryniuk
  • kidfolk
  • Tim Mahoney
  • Richard Guest

Are you using this widget?

If you are using this widget please feel free to add your app to the wiki.

License

Copyright (c) 2011 Johan Nilsson

Licensed under the Apache License, Version 2.0

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言