Skip to content

Commit

Permalink
Version 1.1.2 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquimLey authored Jan 31, 2017
1 parent bc638b6 commit 7e67714
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#FabOptions
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FabOptions-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4734)
[![MaterialUp](https://img.shields.io/badge/MaterialUp-FabOptions-blue.svg?style=flat)](https://material.uplabs.com/posts/faboptions)
[![Bintray](https://img.shields.io/badge/Bintray-v1.1.1-brightgreen.svg?style=flat)](https://bintray.com/leyopensource/FabOptions/com.github.joaquimley%3Afaboptions/1.1.1)
[![Bintray](https://img.shields.io/badge/Bintray-v1.1.2-brightgreen.svg?style=flat)](https://bintray.com/leyopensource/FabOptions/com.github.joaquimley%3Afaboptions/1.1.2)
![minSdkVersion](https://img.shields.io/badge/minSdkVersion-14-green.svg?style=true)
![compileSdkVersion](https://img.shields.io/badge/compileSdkVersion-25-green.svg?style=true)

Expand All @@ -27,7 +27,7 @@ Android implementation
- Import gradle dependency:

dependencies {
compile 'com.github.joaquimley:faboptions:1.1.1'
compile 'com.github.joaquimley:faboptions:1.1.2'
}

- Add the component to your layout:
Expand Down
6 changes: 3 additions & 3 deletions faboptions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
versionCode 10
versionName "1.1.1"
versionCode 11
versionName "1.1.2"
vectorDrawables.useSupportLibrary = true
}

Expand All @@ -39,7 +39,7 @@ android {
}

dependencies {
final DESIGN_LIBRARY_VERSION = '25.1.0'
final DESIGN_LIBRARY_VERSION = '25.1.1'

compile "com.android.support:design:$DESIGN_LIBRARY_VERSION"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,14 @@ public void onClick(View v) {
open();
}
} else {
if (mListener != null) {
if (mListener != null && mIsOpen) {
mListener.onClick(v);
close();
}
}
}

@Override
public void setOnClickListener(View.OnClickListener listener) {
mListener = listener;
}
Expand Down
5 changes: 3 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ android {
}

dependencies {
final DESIGN_LIBRARY_VERSION = '25.1.0'
final DESIGN_LIBRARY_VERSION = '25.1.1'
final FABOPTIONS_VERSION = '1.1.1'

compile "com.android.support:design:$DESIGN_LIBRARY_VERSION"
compile "com.github.joaquimley:faboptions:$FABOPTIONS_VERSION"
// compile "com.github.joaquimley:faboptions:$FABOPTIONS_VERSION"
compile project(':faboptions')
}

0 comments on commit 7e67714

Please sign in to comment.