The Most Powerful Swipe Layout!
This is the brother of AndroidViewHover.
One year ago, I started to make an app named EverMemo with my good friends. The designer gave me a design picture, the design like this:
I found it was pretty hard to achieve this effect, cause you had to be very familiar with the Android Touch System. It was beyond my ability that moment, and I also noticed that there was no such a concept library...
Time passed, finally...as you see right now.
Before I made this, I actually found some libraries (eg.SwipeListView) that helps developers to integrate swiping with your UI component.
But it only works in ListView, and it has too many issues that they never care. What a pity!
When I start to make this library, I set some goals:
onOpen,onClose,onUpdate callbacks.dependencies {
compile 'com.android.support:recyclerview-v7:21.0.0'
compile 'com.android.support:support-v4:20.+'
compile "com.daimajia.swipelayout:library:1.2.0@aar"
}<dependency>
<groupId>com.google.android</groupId>
<artifactId>support-v4</artifactId>
<version>r6</version>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>recyclerview-v7</artifactId>
<version>21.0.0</version>
</dependency>
<dependency>
<groupId>com.daimajia.swipelayout</groupId>
<artifactId>library</artifactId>
<version>1.2.0</version>
<type>apklib</type>
</dependency>Make sure to use the internal adapter instead of your own!
A student in mainland China.
Welcome to offer me an internship. If you have any new idea about this project, feel free to contact me. :smiley:
请教下 item长按事件可不可以实现拖拽排序
In recyclerview other rows should get closed when we swipe open any row
Quickly opening the second item, the first item how closed?
右滑无内容问题
Disable short swipe, increase distance to open
How to open bottom-view as default state without animation?
getOpenItems wrong if using swipe gesture to close others
how to make single item swipe and other should close automatically
菜单栏问题
怎么实现右边的菜单栏的长度跟随滑动距离而变化