Comments (3)
You should use SwipeRefreshLayout instead of pull to refresh, which has
been deprecated long ago. QuickReturn hasn't been tested with pull to
refresh and probably won't work well.
On Thu, Dec 25, 2014, 19:36 danger1988 [email protected] wrote:
_I have bang my head to combine those two together without succesfully.I
currently use the pull to refresh list mention below:
https://github.com/johannilsson/android-pulltorefresh
_But when i combine with Quick return, the behaviour is not as expected,
when scrolldown, the sticky view only show with half of the height._I would like to ask if it is possible to combine QuickReturn with the
pullToRefresh pattern?—
Reply to this email directly or view it on GitHub
#24.
from quickreturn.
thanks for replying so fast. I really want to use SwipeRefreshLayout but the company would like to custom the animation (like the arrow rolling and show loading header) when we refresh (not just use the 4 color line as the swipe refresh does). Could you give me some suggestion?
from quickreturn.
Well you could listen to the SwipeRefreshLayout onRefresh callback and display a custom view, maybe with a different animation. That is up to you. You also don't have to necessarily use the class provided by the framework. You can copy the SwipeRefreshLayout to your project and modify it to display something different. That is totally doable and simple to do.
from quickreturn.
Related Issues (20)
- Good Job HOT 1
- Quick Return target hide scroll thumb when scroll to top!!
- Quick Return broken when calling ListView.onRestoreInstanceState(state) HOT 1
- READ_PHONE_STATE permission HOT 5
- Add support for RecyclerView HOT 3
- Issue with item selection HOT 1
- TargetView show/hide option. HOT 2
- Start hidden? HOT 2
- IndexOutOfBoundsException when clicking Button as Target View HOT 1
- Couldn't click some rows HOT 1
- could not work with listview with header. HOT 1
- Remove the not used ic_launcher.png HOT 1
- CardsLib and QuickReturn
- Bug when setting listview position HOT 1
- The firstVisibleItem position is wrong when the top target view is out of screen. HOT 1
- Blank area displays under target view as you scroll up HOT 4
- Quick return target doesn't work properly when in the middle of scrolling, item's height chaged
- In ScrollView the bottom QuickReturn target doesn't disappear HOT 2
- How about scrollViews HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickreturn.