@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("ιεΊζε"); }