Comments (6)
@jamescategory thanks for all the details. I'll try to find out a fix for you asap.
|(• ◡•)| peace
from phoenix.
@shliama Thanks a lot! looking forward to see a solution to this. btw, I just noticed I have forgotten to attach the screenshot :) here we go:
https://www.dropbox.com/s/07mg7iy9fedcrnx/Screenshot_2015-02-17-10-32-59_1.jpg?dl=0
from phoenix.
Hi, sorry for the huge delay, but I haven't had enough time recently.
So, I've looked at the StickyHeaderListView sample, and reproduced the same issue from your screenshot.
Unfrortunately, it seems there is no easy workaround for this issue. As you can see, those two redundant white spaces are in fact 1st and 2nd "fake" list items that are covered with headers.
And the headers are just views that are above the ListView.
Well, if you really want to combine these two libraries, my advice is to include my library as module (not via gradle, you'll need to change library code), and play with methods that set initial position of the refresh layout (you shouldn't add top margin).
In the PullToRefreshView class, you will see that for default offset I'm using in methods to move/animate the refresh view is (mTarget.getTop()) that's just top point of the list view, so maybe you might try to add there height of those two fake list items. Also those two fake list items must be transparent - so they don't cover refresh view.
Plus, while list view is refreshing, scrolling it up will hide the header, this issue must be fixed somehow too.
from phoenix.
@jamescategory hi! do you achieve it ?
from phoenix.
@shliama thanks a lot of the detailed guide. I messed around a lot with it but I couldn't make it work properly. I was under pressure to meet a deadline so I had to give up. Perhaps in the future I revisit the problem gain. But again, thank you very much for your help :)
from phoenix.
@jamescategory you're welcome :)
Unfortunately it's hard to create a library that is compatible with other libraries on the internet. We all use some hacks and workarounds to achieve custom / non-native look and feel of our components, therefore it's not a surprise that they may conflict with each-other ¯_(ツ)_/¯
from phoenix.
Related Issues (20)
- can I use this library like this? HOT 2
- how can i trigger pull-to-refresh programmably? HOT 2
- How are you supposed to change the images, sun, buildings, sky? HOT 12
- Out of Memory errors HOT 2
- Change sun,circle ,buildings images programatically HOT 5
- The refreshing view is uninited HOT 2
- check if the pullToRefresh is active/refreshing HOT 1
- Scroll doesn't work with complex layouts HOT 3
- problem when scrolling up HOT 4
- Resource name "type" conflicts with other lib HOT 4
- Can I change the .png of the background and the sun programatically? HOT 4
- Recycler smoothScrollToPosition has a strange behavior
- Issue with GridView. Is this library supposed to work with GridView?
- Issue with RecyclerView. Is this library supposed to work with RecyclerView?
- Can I customize the style of loadingview
- OutOfMemoryError HOT 1
- Pull to left or right and show icon from left or right
- How can i disable it programatically? HOT 3
- The Refresh Animation will make other widget's location changed
- Create view success ,but got a TableNotFoundException when query HOT 2
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 phoenix.