Skip to content

Commit

Permalink
v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
William Mora committed Nov 23, 2014
1 parent cbdde48 commit a74b370
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Library that implements <a href="http://www.google.com/design/spec/components/sn
You can import the library from source as a module or grab via Gradle:
<br />
```groovy
compile 'com.nispok:snackbar:2.2.0'
compile 'com.nispok:snackbar:2.2.1'
```
## Usage
<br />
Expand Down Expand Up @@ -88,8 +88,7 @@ Finally, you can attach the <code>Snackbar</code> to a AbsListView (ListView, Gr
```java
Snackbar.with(getApplicationContext()) // context
.type(Snackbar.SnackbarType.MULTI_LINE) // Set is as a multi-line snackbar
.text("This is a multi-line snackbar. Keep in mind that snackbars are " +
"meant for VERY short messages") // text to be displayed
.text(R.string.message) // text to be displayed
.duration(Snackbar.SnackbarDuration.LENGTH_LONG) // make it shorter
.animation(false) // don't animate it
.attachToAbsListView(listView) // Attach to ListView - attachToRecyclerView() is for RecyclerViews
Expand Down
4 changes: 2 additions & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.nispok.snackbar"
minSdkVersion 14
targetSdkVersion 21
versionCode 7
versionName "2.2.0"
versionCode 8
versionName "2.2.1"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
testHandleProfiling true
testFunctionalTest true
Expand Down
2 changes: 1 addition & 1 deletion lib/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ POM_NAME=Snackbar
POM_ARTIFACT_ID=snackbar
POM_PACKAGING=aar
GROUP=com.nispok
VERSION_NAME=2.2.0
VERSION_NAME=2.2.1

POM_DESCRIPTION=Snackbar Android library
POM_URL=https://github.com/nispok/snackbar
Expand Down

0 comments on commit a74b370

Please sign in to comment.