Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Phoenix Pull-to-Refresh

Subscribe to updates I use Phoenix

Statistics on Phoenix

Number of watchers on Github 3730
Number of open issues 12
Average time to close an issue 2 months
Main language Java
Average time to merge a PR 1 day
Open pull requests 2+
Closed pull requests 3+
Last commit over 2 years ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 656 KB
Homepage https://yalantis....
Organization / Authoryalantis
Latest Release1.0
Page Updated
Do you use Phoenix? Leave a review!
View open issues (12)
View Phoenix activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating Phoenix for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Android Arsenal Yalantis

Phoenix Pull-to-Refresh

This project aims to provide a simple and customizable pull to refresh implementation. Made in Yalantis

Check this project on Dribbble
Check this project on Behance

alt text


For a working implementation, Have a look at the Sample Project - sample

  1. Include the library as local library project.

    compile 'com.yalantis:phoenix:1.2.3'

  2. Include the PullToRefreshView widget in your layout.

            android:layout_height="match_parent" />
  3. In your onCreate method refer to the View and setup OnRefreshListener.

    mPullToRefreshView = (PullToRefreshView) findViewById(;
    mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {
        public void onRefresh() {
            mPullToRefreshView.postDelayed(new Runnable() {
                public void run() {
            }, REFRESH_DELAY);


To customize drawables you can change:

  • sun.png - Sun image
  • sky.png - background image
  • buildings.png - foreground image


If you need to change progress state:

    mPullToRefreshView.setRefreshing(boolean isRefreshing)


  • Android GINGERBREAD 2.3+


Version: 1.2

  • Sample updated with RecyclerView example
  • Showing the refresh view just in it's bounds. (Issue with transparent / empty ListView)
  • Possibility to set refresh view padding

Version: 1.0

  • Initial Build

Let us know!

Wed be really happy if you sent us links to your projects where you use our component. Just send an email to And do let us know if you have any questions or suggestion regarding the animation.

P.S. Were going to publish more awesomeness wrapped in code and a tutorial on how to make UI for Android (iOS) better than better. Stay tuned!


Copyright 2017, Yalantis

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.
Phoenix open issues Ask a question     (View All Issues)
  • almost 3 years Resource name "type" conflicts with other lib
  • over 3 years how can i trigger pull-to-refresh programmably?
  • over 3 years Apply padding in Parent Layout
  • over 3 years When Rotating phone it does not wrap content
Phoenix open pull requests (View All Pulls)
  • feat: NestedScrolling behavior on complicated layouts works
  • Added initializer
Phoenix questions on Stackoverflow (View All Questions)
  • Postgres - Phoenix/Elixir install errors
  • Elixir phoenix error when starting server
  • error during installing phoenix framework
  • Dynamically defining top level routes in Phoenix routes.ex
  • In a Phoenix app, where do the prepare_changes calls belong?
  • apache phoenix Join query performance
  • org.apache.hadoop.hbase.TableNotFoundException: SYSTEM.CATALOG exception with phoenix 4.5.2
  • Phoenix Error while trying to create table
  • Apache Phoenix DAO Testing
  • Apache Phoenix Current Time
  • parsing of where clause in phoenix
  • Can I use phoenix to achieve the feature like SQL's duplicate key?
  • Phoenix frameworks and validating embeds
  • Trying to use axios to make API call in a React/Phoenix App (using Brunch)
  • Phoenix Framework - How to populate a map field through a form_for?
  • How to add plug in router in phoenix elixir
  • How to make Javascript code run in Phoenix?
  • How to send emails with Phoenix framework
  • How to write a custom model in elixir / phoenix without being object-oriented?
  • Deploying phoenix framework on heroku with webpack
  • How to create a Phoenix Table / View over an Existing Hbase table
  • creating a Phoenix index in Hortonworks sandbox doesnt work
  • Does Phoenix Code_Reloader Only Reload Elixir Code?
  • Apache Phoenix - Insert multiple rows with one upsert statement
  • Render many to many relationship JSON in Phoenix Framework
  • Phoenix Framework with code reloading enabled, is pretty slow on Windows
  • Using Phoenix with Cloudera Hbase (installed from repo)
  • Not finding my HBase table columns in my Phoenix table
  • APACHE PHOENIX : Identify each column name and its data in region server coprocessor
  • Apache Phoenix does not show future records
Phoenix list of languages used
Other projects in Java