csnowstack / behaviordemo Goto Github PK
View Code? Open in Web Editor NEWa nice effect
a nice effect
希望的效果就是,在头部展开的时候,上下滑动时不会影响到recyclerview,在头部隐藏的时候,如果当前位置处于recyclerview顶部,手指上滑时是recylerview正常的滑动,而手指下滑时recylerview不动,展开头部,如果当前位置不是在recylerview顶部,则滑动事件全部由recyclerview本身处理。
这种效果可以做到吗?求教一下。
Hi,
I can't see errors in the Log Cat (when the app crashes) only from your classes, and I can't understand why. I am trying to use your amazing profile view style in my project. I have to use a NestedScrollView instead of your Recyclerview. Do you have some advice? I don't know what to do here.
I did just a little fix in the IconBehavior (this do not change my problem above) :
I took the mWidth float variable from the screen width and not from the toolbar. This bacause it was giving me some issue, I think because the toolbar view was still not initialized and so returns a 0 value sometimes, causing a wrong position for some element.
Very strange: my last test was copying files one by one in a project new-from-scratch, and it is not working! (Little exception: my nestedscrollview)
Another problem (I think it is linked to it): it crashes when I try to scroll up or down and I stop in a point in the middle. If I complete the scroll by closing it or fully expanding it, no problems there. But in other cases instead of doing the expand/collapse action, it crashes without giving any error (!?).
Thanks in advance and thanks for this beautiful code you shared here.
Commit ea4c6a7 on April 26th changed the effect of this library. What is the reason for this change? May I suggest that when you create a new effect, to start a new library? This change confused me greatly before looking through the commit history because the references to this library still use the old GIF.
This is an amazing library and the current effect is amazing too! I would suggest creating a new library with the current effect and then revert this library to the original effect to maintain consistency. The changes made so far completely rewrite this library!
Please let me know what you think!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.