Commit 84817f022727a126c8b704580e5269fb2779d659
1 parent
f9430478
去掉toast
Showing
1 changed file
with
0 additions
and
3 deletions
app/src/main/java/com/cnlive/im/ui/PrivateChatActivity.java
| ... | ... | @@ -142,14 +142,12 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli |
| 142 | 142 | |
| 143 | 143 | @Override |
| 144 | 144 | public void onAttached(CNMessage cnMessage) { |
| 145 | - Toast.makeText(PrivateChatActivity.this, "onAttached", Toast.LENGTH_LONG).show(); | |
| 146 | 145 | Log.v(TAG, "私聊SendMessageListener onAttached" + cnMessage.getTargetId() + cnMessage.getUserInfo().getUserName()); |
| 147 | 146 | |
| 148 | 147 | } |
| 149 | 148 | |
| 150 | 149 | @Override |
| 151 | 150 | public void onSuccess(final CNMessage cnMessage) { |
| 152 | - Toast.makeText(PrivateChatActivity.this, "onSuccess", Toast.LENGTH_LONG).show(); | |
| 153 | 151 | mHandler.post(new Runnable() { |
| 154 | 152 | @Override |
| 155 | 153 | public void run() { |
| ... | ... | @@ -167,7 +165,6 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli |
| 167 | 165 | @Override |
| 168 | 166 | public void onError(CNMessage cnMessage, int i, String s) { |
| 169 | 167 | Log.v(TAG, "私聊SendMessageListener 失败 " + i + " s" + s); |
| 170 | - Toast.makeText(PrivateChatActivity.this, "失败", Toast.LENGTH_LONG).show(); | |
| 171 | 168 | |
| 172 | 169 | |
| 173 | 170 | } | ... | ... |