Skip to content

Commit

Permalink
Merge pull request #28 from MertNYuksel/master
Browse files Browse the repository at this point in the history
Stop setting state as info after setting an infoButtonListener
  • Loading branch information
erkutaras authored Dec 10, 2019
2 parents a61af31 + f6d86bb commit a8dc589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 23
versionName "1.4.1"
versionCode 24
versionName "1.4.2"

vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ class StateLayout @JvmOverloads constructor(context: Context,
infoLayout.findView<Button>(R.id.button_state_layout_info) {
setOnClickListener { block.invoke() }
}
info()
}

fun infoButtonVisibility(visibility: Int) {
Expand Down

0 comments on commit a8dc589

Please sign in to comment.