|
|
@@ -87,6 +87,7 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
private TextView textRecommendSubTitle;
|
|
|
private ImageView imageRecommend;
|
|
|
private View viewForTouchOfRecommend;
|
|
|
+ private View textRecommendButton;
|
|
|
|
|
|
@Override
|
|
|
protected View onAfterCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
|
|
@@ -115,6 +116,7 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
textRecommendSubTitle = findViewById(R.id.text_recommend_sub_title);
|
|
|
imageRecommend = findViewById(R.id.image_view_recommend);
|
|
|
viewForTouchOfRecommend = findViewById(R.id.view_for_touch_of_recommend);
|
|
|
+ textRecommendButton = findViewById(R.id.text_recommend_button);
|
|
|
|
|
|
textCouponCount = findViewById(R.id.text_view_coupon_count);
|
|
|
textPurchaseCount = findViewById(R.id.text_view_purchase_count);
|
|
|
@@ -218,6 +220,7 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
@Override
|
|
|
public void setRecommendContents(MyRecommendContentsBean bean) {
|
|
|
if (null != bean && StringUtil.isFull(bean.getImageUrl())) {
|
|
|
+ textRecommendButton.setVisibility(View.VISIBLE);
|
|
|
textRecommendTitle.setText(bean.getTitle());
|
|
|
textRecommendSubTitle.setText(bean.getSubTitle());
|
|
|
|