Пример #1
0
 @Override
 public void onClick(View v) {
   switch (v.getId()) {
     case R.id.logout:
       JMessageClient.logout();
       finish();
       break;
   }
 }
  public void userLogout(JSONArray data, CallbackContext callbackContext) {
    Log.i(TAG, "JMessageLogout \n" + data);

    JMessageClient.logout();
    callbackContext.success("退出成功");
  }