| | |
| | | adapter = new SendCircleAdapter(getActivity(), mBannerList, mContentList, BetterGoodsFragment.this, new TextViewUtil.URLClickListener() { |
| | | @Override |
| | | public void onClick(final String url) { |
| | | prepareAction(new IPrePareSuccessListener() { |
| | | @Override |
| | | public void onSuccess() { |
| | | ShoppingApi.evaluateConvertLink( |
| | | getContext(), UserUtil. |
| | | getUid(getContext()), url, new |
| | |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | rv_better_goods.setRecycledViewPool(new RecyclerView.RecycledViewPool()); |
| | | rv_better_goods.setAdapter(adapter); |
| | | |
| | |
| | | public void copyComment(final SendCircleContent content, SendCircleCommment comment) { |
| | | actionParams = new ActionParams(content, comment); |
| | | actionParams.type = ActionParams.TYPE_COPY_COMMENT; |
| | | prepareAction(new IPrePareSuccessListener() { |
| | | @Override |
| | | public void onSuccess() { |
| | | Long uid = UserUtil.getUid(getContext()); |
| | | ShoppingApi.evaluateCopyComment(getContext(), uid, actionParams.content.getId(), actionParams.comment.getId(), new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onStart() { |
| | | super.onStart(); |
| | | DialogUtil.show(pd); |
| | | |
| | | } |
| | | |
| | | @Override |
| | |
| | | pd.dismiss(); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | |
| | | @Override |