Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Most Powerful Swipe Layout!

License

NotificationsYou must be signed in to change notification settings

daimajia/AndroidSwipeLayout

Repository files navigation

![Gitter](https://badges.gitter.im/Join Chat.svg)

Insight.io

This is the brother ofAndroidViewHover.

One year ago, I started to make an app namedEverMemo 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.

Demo

Download Demo

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 inListView, and it has too many issues that they never care. What a pity!

When I start to make this library, I set some goals:

  • Can be easily integrated in anywhere, ListView, GridView, ViewGroup etc.
  • Can receiveonOpen,onClose,onUpdate callbacks.
  • Can notifiy the hidden children how much they have shown.
  • Can be nested each other.
  • Can handle complicate situation, just likethis.

Usage

Step 1

Gradle

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"}

Maven

<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>

Eclipse

AndroidSwipeLayout-v1.1.8.jar

Step 2

Make sure to use the internal adapter instead of your own!

Wiki Usage

Wiki

Go to Wiki

About me

A student in mainland China.

Welcome tooffer me an internship. If you have any new idea about this project, feel free tocontact me. 😃

About

The Most Powerful Swipe Layout!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors18

Languages


[8]ページ先頭

©2009-2025 Movatter.jp