We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0a560 commit d77797dCopy full SHA for d77797d
samplejava/src/main/java/com/example/chattutorialjava/MainActivity.java
@@ -65,9 +65,9 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
65
66
// Step 4 - Connect the ChannelsViewModel to the ChannelsView, loose coupling makes it easy to customize
67
ChannelsViewModelBinding.bind(channelsViewModel, binding.channelsView, this);
68
- binding.channelsView.setChannelItemClickListener(
69
- channel -> startActivity(ChannelActivity4.newIntent(this, channel))
70
- );
+ binding.channelsView.setChannelItemClickListener(channel -> {
+ startActivity(ChannelActivity4.newIntent(this, channel));
+ });
71
}
72
73
0 commit comments