| | |
| | | |
| | | break; |
| | | case R.id.ll_add_collect: |
| | | if (!LoginAndInviteStatusUtil.acessNext(getContext(), UserUtil.getUid(getContext()) + "", true)) |
| | | if (!LoginAndInviteStatusUtil.acessNext(getContext(), UserUtil.getUid(getContext()) , true)) |
| | | return; |
| | | ll_add_collect.setEnabled(false); |
| | | if (goodsDetail == null) { |
| | |
| | | break; |
| | | |
| | | case R.id.ll_share://分享 |
| | | if (!LoginAndInviteStatusUtil.acessNext(getContext(), UserUtil.getUid(getContext()) + "", true)) |
| | | if (!LoginAndInviteStatusUtil.acessNext(getContext(), UserUtil.getUid(getContext()), true)) |
| | | return; |
| | | |
| | | if (!DuplicateEventFilterUtil.allowEvent("shareGoods", 3000)) |
| | |
| | | return; |
| | | if (isCollect == null) |
| | | isCollect = goodsDetail.getExtra().isCollected(); |
| | | String uid = UserUtil.getUid(getContext()) + ""; |
| | | Long uid = UserUtil.getUid(getContext()) ; |
| | | ShoppingApi.collectionGoods(getContext(), goodsDetail.getGoods().getGoodsId(), uid, isCollect ? "2" : "1", |
| | | goodsDetail.getGoods().getGoodsType() + "", new BasicTextHttpResponseHandler() { |
| | | @Override |