commit | e0c4e9687179d67e4d197a11054c7da7415b5f58 | [log] [tgz] |
---|---|---|
author | Lars Greiss <kufikugel@googlemail.com> | Sat Apr 12 10:41:26 2014 +0200 |
committer | Lars Greiss <kufikugel@googlemail.com> | Sat Apr 12 10:41:26 2014 +0200 |
tree | 39ac6afd7213e8a6920c775bb7838df2e008687b | |
parent | 8ba38deefee0bfdd6c16079f03df51a51459ae25 [diff] |
Cardslib: do not pass trough touch event to gesture listener during swipe New implementation allows us now to block gesture listener events during the user is swiping. Way more consistent and solves as well a possible crash on SlimRecents if the user is swiping the card nearly completely away and at the same time pinching to clear all (well rarly will ever happen but save is save) Change-Id: I1365f1b4113e5f764dbf38c9fe4476148de1d496
Card Library provides an easy way to display a UI Card in your Android app.
You can display single cards, list of cards and a grid of Cards.
Sample application: The demo is a showcase of the functionality of the library.
Extras application: The demo-extras contains some examples of integration with other libraries
Browse the source code of the sample application for a complete example of use.
Card Gallery: How to realize simple and nice cards.
Join the Google+ Community:
a place to discuss the library, share screenshots, ask for tips....
If you would like, you can support my work, donating through the demo app.
See the Card Library Guide to know all card library features and all customizations. The Guide provides a extensive doc, with all tips and full examples. Don't miss it.
Card Library is pushed to Maven Central as an AAR, so you just need to add the following dependency to your build.gradle
.
dependencies { compile 'com.github.gabrielemariotti.cards:library:1.3.0' }
Author: Gabriele Mariotti (gabri.mariotti@gmail.com)
Copyright 2013-2014 Gabriele Mariotti 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.
Google and the Google Maps logo are registered trademarks of Google Inc., used with permission.