Skip to content

Commit cea86f0

Browse files
committed
[CAS-354] Add TODOs to replace watch channel use case
1 parent 21e8f0b commit cea86f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

samplejava/src/main/java/com/example/chattutorialjava/ChannelActivity3.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public void handleOnBackPressed() {
111111
typingHeader.setText(nobodyTyping);
112112

113113
// Obtain a ChannelController
114+
// TODO replace getWatchChannel with getChannelController
114115
ChannelController channelController =
115116
ChatDomain.instance().getUseCases()
116117
.getWatchChannel().invoke(cid, 0)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class ChannelActivity3 : AppCompatActivity(R.layout.activity_channel_3) {
7979
typingHeader.text = nobodyTyping
8080

8181
// Obtain a ChannelController
82+
// TODO replace watchChannel with getChannelController
8283
val channelController: ChannelController =
8384
ChatDomain.instance().useCases.watchChannel(cid, 0).execute().data()
8485

0 commit comments

Comments
 (0)