@Override public void onStart() { super.onStart(); Category category = CategoryHelper.getCategoryByNickname(getActivity(), holdOrderInfo.id); if (category != null) { TradeMobClickHelper.onMarketClosePage(getActivity(), category.id, holdOrderInfo.dir); } }
@OnClick(R.id.bt_submit) public void onSubmitClick() { if (checkIsValidate()) { TradeMobClickHelper.onMarketCloseSubmit( getActivity(), CategoryHelper.getCategoryByNickname(getActivity(), holdOrderInfo.id).id, holdOrderInfo.dir, numberEditView.getText().toString(), spreadSwitchView.isToggleOn() ? spreadEditView.getText().toString() : "0"); showOpenDialog(); } }