移除调试代码

This commit is contained in:
zlzw 2023-04-19 13:55:18 +08:00
parent 47c3282861
commit bddf8c71ae
2 changed files with 1 additions and 6 deletions

View File

@ -383,13 +383,7 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL
if (mContainer == null) {
return;
}
isImage = true;
if (isImage) {
mAdList = new ArrayList<>();
AdBean adBean = new AdBean();
adBean.setUrl("https://downs.yaoulive.com/20230411/af6596ffcc35349adbae44dfb9c23a96.jpg");
adBean.setLink("https://downs.yaoulive.com/20230411/af6596ffcc35349adbae44dfb9c23a96.jpg");
mAdList.add(adBean);
int imgSize = mAdList.size();
if (imgSize > 0) {
mImageViewList = new ArrayList<>();

View File

@ -334,6 +334,7 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
String adUrl = ((Activity) mContext).getIntent().getStringExtra("ad_url");
ImageView ad = headView.findViewById(R.id.ad_img);
if (StringUtil.isEmpty(adUrl)) {
ActivityCompat.startPostponedEnterTransition((Activity) mContext);
ad.setVisibility(View.GONE);
} else {
//ImgLoader.display(mContext, adUrl, ad);