仿QQ的侧滑效果,主要是解决滑动的冲突问题
除了我的工程之外,文件中还有两个项目,一个是用其他的Android包带的SlidingPaneLayout来实现的,是别人写的,我直接copy来看的,实现的不是很完整,没有像QQ那样可以左滑;另一个是瀑布流的效果,主要是考察事件分发的。
我在网上没有搜到像样的案例,所以就自己写了个,主要的难点就是解决事件的冲突,尤其是这个中的左滑和右滑的冲突。
效果如图,这是之前截的图,实际运行起来可能会有偏差:
This project forked from wly2014/qq_slidingmenu
仿QQ的侧滑效果,主要是解决滑动的冲突问题
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.