Skip to content

Commit 7e1dd96

Browse files
committed
Update Kotlin version to 1.5.10
1 parent f33ddbb commit 7e1dd96

File tree

6 files changed

+1
-6
lines changed

6 files changed

+1
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = "1.4.30"
2+
ext.kotlin_version = "1.5.10"
33
repositories {
44
google()
55
jcenter()

samplekotlin/src/main/java/com/example/chattutorial/ChannelActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class ChannelActivity : AppCompatActivity() {
4949
messageInputViewModel.bindView(binding.messageInputView, this)
5050

5151
// Step 3 - Let both MessageListHeaderView and MessageInputView know when we open a thread
52-
// Note: the observe syntax used here requires Kotlin 1.4
5352
messageListViewModel.mode.observe(this) { mode ->
5453
when (mode) {
5554
is Thread -> {

samplekotlin/src/main/java/com/example/chattutorial/ChannelActivity2.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class ChannelActivity2 : AppCompatActivity() {
5050
messageInputViewModel.bindView(binding.messageInputView, this)
5151

5252
// Step 3 - Let both MessageListHeaderView and MessageInputView know when we open a thread
53-
// Note: the observe syntax used here requires Kotlin 1.4
5453
messageListViewModel.mode.observe(this) { mode ->
5554
when (mode) {
5655
is Thread -> {

samplekotlin/src/main/java/com/example/chattutorial/ChannelActivity3.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class ChannelActivity3 : AppCompatActivity() {
5252
messageInputViewModel.bindView(binding.messageInputView, this)
5353

5454
// Step 3 - Let both MessageListHeaderView and MessageInputView know when we open a thread
55-
// Note: the observe syntax used here requires Kotlin 1.4
5655
messageListViewModel.mode.observe(this) { mode ->
5756
when (mode) {
5857
is Thread -> {

samplekotlin/src/main/java/com/example/chattutorial/ChannelActivity4.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class ChannelActivity4 : AppCompatActivity() {
5555
messageInputViewModel.bindView(binding.messageInputView, this)
5656

5757
// Step 3 - Let both MessageListHeaderView and MessageInputView know when we open a thread
58-
// Note: the observe syntax used here requires Kotlin 1.4
5958
messageListViewModel.mode.observe(this) { mode ->
6059
when (mode) {
6160
is Thread -> {

samplekotlin/src/main/java/com/example/chattutorial/MainActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class MainActivity : AppCompatActivity() {
5252

5353
// Step 4 - Connect the ChannelListViewModel to the ChannelListView, loose
5454
// coupling makes it easy to customize
55-
// Note: the listener syntax used here requires Kotlin 1.4
5655
viewModel.bindView(binding.channelListView, this)
5756
binding.channelListView.setChannelItemClickListener { channel ->
5857
startActivity(ChannelActivity4.newIntent(this, channel))

0 commit comments

Comments
 (0)