"language-java">
ImageDisplayUtils.dispalyImg(context, chatRecommendBean.coverImgUrl, simpleViewHolder.info_bg_icon);
if (TextUtils.isEmpty(chatRecommendBean.headImgUrl)) {
@ -330,7 +329,7 @@ public class ChatRecommendAdapter extends RecyclerView.Adapter<IViewHolder> {
String desc = JsonUtils.getKeyResult(response, "desc");
if ("1000".equals(rtnCode)) {
recycler_view_zan_icon.setBackgroundResource(R.drawable.app_talk_main_list_zan_red_icon);
bean.likeNums ++;
bean.likeNums++;
if (bean.likeNums > 999) {
recycler_view_zan.setText("999+");
@ -338,7 +337,7 @@ public class ChatRecommendAdapter extends RecyclerView.Adapter<IViewHolder> {
recycler_view_zan.setText(bean.likeNums + "");
}
recycler_view_zan.setVisibility(View.VISIBLE);
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)recycler_view_zan_icon.getLayoutParams();
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) recycler_view_zan_icon.getLayoutParams();
params.rightMargin = DensityUtil.dip2px(context, 5);
recycler_view_zan_icon.setLayoutParams(params);
} else {
|
||
| 5 | 5 |
|
| 6 | 6 |
|
| 7 | 7 |
|
| 8 |
|
|
| 8 | 9 |
|
| 9 | 10 |
|
| 10 | 11 |
|
|
||
| 17 | 18 |
|
| 18 | 19 |
|
| 19 | 20 |
|
| 21 |
|
|
| 20 | 22 |
|
| 21 | 23 |
|
| 22 | 24 |
|
|
||
| 24 | 26 |
|
| 25 | 27 |
|
| 26 | 28 |
|
| 27 |
|
|
| 29 |
|
|
| 30 |
|
|
| 28 | 31 |
|
| 29 | 32 |
|
| 30 |
|
|
| 31 |
|
|
| 33 |
|
|
| 34 |
|
|
| 32 | 35 |
|
| 33 | 36 |
|
| 34 | 37 |
|
|
||
| 44 | 47 |
|
| 45 | 48 |
|
| 46 | 49 |
|
| 47 |
|
|
| 50 |
|
|
| 48 | 51 |
|
| 49 | 52 |
|
| 50 | 53 |
|
|
||
| 53 | 56 |
|
| 54 | 57 |
|
| 55 | 58 |
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 68 | 62 |
|
| 69 | 63 |
|
| 70 | 64 |
|
| 71 | 65 |
|
| 72 |
|
|
| 66 |
|
|
| 73 | 67 |
|
| 74 | 68 |
|
| 75 | 69 |
|
|
||
| 80 | 74 |
|
| 81 | 75 |
|
| 82 | 76 |
|
| 83 |
|
|
| 77 |
|
|
| 84 | 78 |
|
| 85 | 79 |
|
| 86 |
|
|
| 87 |
|
|
| 80 |
|
|
| 81 |
|
|
| 88 | 82 |
|
| 89 | 83 |
|
| 90 | 84 |
|
|
||
| 73 | 73 |
|
| 74 | 74 |
|
| 75 | 75 |
|
| 76 |
|
|
| 76 | 77 |
|
| 77 |
|
|
| 78 |
|
|
| 78 |
|
|
| 79 |
|
|
| 79 | 80 |
|
| 80 | 81 |
|
| 81 | 82 |
|
|
||
| 33 | 33 |
|
| 34 | 34 |
|
| 35 | 35 |
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
|
|
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
|
| 55 |
|
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 36 | 66 |
|
|
||
| 196 | 196 |
|
| 197 | 197 |
|
| 198 | 198 |
|
| 199 |
|
|
| 199 |
|
|
| 200 | 200 |
|
| 201 | 201 |
|
| 202 | 202 |
|
|
||
| 216 | 216 |
|
| 217 | 217 |
|
| 218 | 218 |
|
| 219 |
|
|
| 219 |
|
|
| 220 | 220 |
|
| 221 | 221 |
|
| 222 | 222 |
|
|
||
| 273 | 273 |
|
| 274 | 274 |
|
| 275 | 275 |
|
| 276 |
|
|
| 277 |
|
|
| 276 | 278 |
|
| 277 | 279 |
|
| 278 | 280 |
|
|
||
| 49 | 49 |
|
| 50 | 50 |
|
| 51 | 51 |
|
| 52 |
|
|
| 52 |
|
|
| 53 | 53 |
|
| 54 | 54 |
|
| 55 | 55 |
|