File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/main/java/ru/whalemare/bottomsheet Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ allprojects {
6262Include dependency with ` BottomSheet ` in your app.gradle file with:
6363
6464``` diff
65- + implementation 'com.github.whalemare:sheetmenu:1.3.5 '
65+ + implementation 'com.github.whalemare:sheetmenu:1.3.6 '
6666```
6767
6868
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ dependencies {
3131 implementation project(path : ' :sheetmenu' )
3232// implementation 'com.github.whalemare:sheetmenu:1.3.5'
3333 implementation " com.android.support:appcompat-v7:$supportVersion "
34+ implementation " com.android.support:recyclerview-v7:$supportVersion "
3435 implementation " com.android.support.constraint:constraint-layout:1.1.0"
3536 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
3637
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import android.os.Bundle
55import android.support.v7.app.AppCompatActivity
66import android.support.v7.widget.GridLayoutManager
77import android.view.MenuItem
8+ import android.view.View
89import android.widget.CheckBox
910import android.widget.Toast
1011import ru.whalemare.sheetmenu.SheetMenu
@@ -19,17 +20,17 @@ open class MainActivityKotlin : AppCompatActivity() {
1920 super .onCreate(savedInstanceState)
2021 setContentView(R .layout.activity_main)
2122
22- (findViewById(R .id.checkbox_title) as CheckBox )
23+ (findViewById< CheckBox > (R .id.checkbox_title))
2324 .setOnCheckedChangeListener { _, isChecked -> needTitle = isChecked }
2425
25- (findViewById(R .id.checkbox_icons) as CheckBox )
26+ (findViewById< CheckBox > (R .id.checkbox_icons))
2627 .setOnCheckedChangeListener { _, isChecked -> needIcons = isChecked }
2728
28- findViewById(R .id.button_linear).setOnClickListener({
29+ findViewById< View > (R .id.button_linear).setOnClickListener({
2930 setupLinear()
3031 })
3132
32- findViewById(R .id.button_grid).setOnClickListener({
33+ findViewById< View > (R .id.button_grid).setOnClickListener({
3334 setupGrid()
3435 })
3536 }
Original file line number Diff line number Diff line change 22
33buildscript {
44 ext. kotlin_version = ' 1.2.41'
5- ext. app_version = " 1.3.5 "
5+ ext. app_version = " 1.3.6 "
66 ext. supportVersion = " 27.1.1"
77 repositories {
88 jcenter()
You can’t perform that action at this time.
0 commit comments