-
Notifications
You must be signed in to change notification settings - Fork 0
Home
EnhancedListView is a ListView, that offers several enhanced features to the default ListView in Android.
This project is the successor of SwipeToDismissUndoList. Unfortunately one main feature got lost (for the sake of several other features): The old library also worked with any kind of AbsListView
. This library only offers a ListView
.
The source code contains a demonstration app, that also can be found on Google Play.
You need to include the library into your project, by one of the following ways:
-
Include it from Maven Central (recommended)
Just enter the following line to your
build.gradle
file in thedependencies
section:compile 'de.timroes.android:EnhancedListView:X.Z.Y@aar'
Where
X.Y.Z
is a valid release. You can find all releases on the release page.If you use Maven to build, just use the above coordinates in your
pom.xml
. -
Download the
aar
file from the release page and reference it in thedependencies
section of yourbuild.gradle
:compile files('libs/EnhancedListView-X.Y.Z.aar')
-
If you are using Eclipse or Ant, you are on your own. You most likely want to download the sources and import them in your build system.
After including the library, just place a <de.timroes.android.listview.EnhancedListView>
tag to your layout, and give it all the attributes, you would also have passed to a regular list view.
Just get a reference when you create your activity/fragment via findViewById
and enable all the features you need. The next section describes all features in more in-depth.
You will find the documentation for each feature on its own wiki page:
- Delete with Undo
- Swipe To Dismiss
This project is licensed under the Apache License, Version 2.0. If you commit to this project (e.g. by sending Pull Requests) you agree to publish your code under the same license.
Copyright 2013 Tim Roes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.