Skip to content

Commit 4e4dfd4

Browse files
committed
Update README
1 parent 4b479cc commit 4e4dfd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ The tutorial app consists of two screens:
2020
* `MainActivity`: Shows the list of available channels.
2121
* `MessagesActivity`: Shows the selected channel view, which includes the header, message list, and message input view.
2222

23-
There are a handful of `MessagesActivity` implementations, which correspond to the steps of the tutorial. You can easily swap them by changing the `onItemClick` handler located in `MainActivity`:
23+
There are a handful of `MessagesActivity` implementations, which correspond to the steps of the tutorial. You can easily swap them by changing the `onChannelClick` handler located in `MainActivity`:
2424

2525
```kotlin
26-
onItemClick = { channel ->
26+
onChannelClick = { channel ->
2727
startActivity(MessagesActivity4.getIntent(this, channel.cid))
2828
},
2929
```

0 commit comments

Comments
 (0)