移除调试代码
This commit is contained in:
parent
47c3282861
commit
bddf8c71ae
@ -383,13 +383,7 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL
|
|||||||
if (mContainer == null) {
|
if (mContainer == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
isImage = true;
|
|
||||||
if (isImage) {
|
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();
|
int imgSize = mAdList.size();
|
||||||
if (imgSize > 0) {
|
if (imgSize > 0) {
|
||||||
mImageViewList = new ArrayList<>();
|
mImageViewList = new ArrayList<>();
|
||||||
|
@ -334,6 +334,7 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
|
|||||||
String adUrl = ((Activity) mContext).getIntent().getStringExtra("ad_url");
|
String adUrl = ((Activity) mContext).getIntent().getStringExtra("ad_url");
|
||||||
ImageView ad = headView.findViewById(R.id.ad_img);
|
ImageView ad = headView.findViewById(R.id.ad_img);
|
||||||
if (StringUtil.isEmpty(adUrl)) {
|
if (StringUtil.isEmpty(adUrl)) {
|
||||||
|
ActivityCompat.startPostponedEnterTransition((Activity) mContext);
|
||||||
ad.setVisibility(View.GONE);
|
ad.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
//ImgLoader.display(mContext, adUrl, ad);
|
//ImgLoader.display(mContext, adUrl, ad);
|
||||||
|
Loading…
Reference in New Issue
Block a user