@Override public void initData(Bundle savedInstanceState) { isShowLoadPage = true; int deviceWidth = Utils.getDeviceWidth(getActivity()); banderWidth = (deviceWidth - Utils.dip2px(getActivity(), 24)); banderHeight = banderWidth * 588 / 600; }
@OnClick(R.id.toReview) public void comment() { CommentDetailEvent commentDetailEvent = new CommentDetailEvent(); commentDetailEvent.setProductID(productId); commentDetailEvent.setSourceType("1"); Utils.moveToFragment( CommentDetailsFragment.class, BrandDetailFragment.this, "CommentDetailsFragment"); EventBus.getDefault().post(commentDetailEvent); }