Skip to content

Commit

Permalink
Fix dependencies (1.3.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
whalemare committed May 4, 2018
1 parent 3cbbaf2 commit 73b4d30
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ allprojects {
Include dependency with `BottomSheet` in your app.gradle file with:

```diff
+ implementation 'com.github.whalemare:sheetmenu:1.3.5'
+ implementation 'com.github.whalemare:sheetmenu:1.3.6'
```


Expand Down
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {
implementation project(path: ':sheetmenu')
// implementation 'com.github.whalemare:sheetmenu:1.3.5'
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support.constraint:constraint-layout:1.1.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.GridLayoutManager
import android.view.MenuItem
import android.view.View
import android.widget.CheckBox
import android.widget.Toast
import ru.whalemare.sheetmenu.SheetMenu
Expand All @@ -19,17 +20,17 @@ open class MainActivityKotlin : AppCompatActivity() {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

(findViewById(R.id.checkbox_title) as CheckBox)
(findViewById<CheckBox>(R.id.checkbox_title))
.setOnCheckedChangeListener { _, isChecked -> needTitle = isChecked }

(findViewById(R.id.checkbox_icons) as CheckBox)
(findViewById<CheckBox>(R.id.checkbox_icons))
.setOnCheckedChangeListener { _, isChecked -> needIcons = isChecked }

findViewById(R.id.button_linear).setOnClickListener({
findViewById<View>(R.id.button_linear).setOnClickListener({
setupLinear()
})

findViewById(R.id.button_grid).setOnClickListener({
findViewById<View>(R.id.button_grid).setOnClickListener({
setupGrid()
})
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

buildscript {
ext.kotlin_version = '1.2.41'
ext.app_version = "1.3.5"
ext.app_version = "1.3.6"
ext.supportVersion = "27.1.1"
repositories {
jcenter()
Expand Down

0 comments on commit 73b4d30

Please sign in to comment.