Commit ca0773f5 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 33dcf6f7
......@@ -10,8 +10,8 @@ android {
applicationId "com.duben.speedplaylet"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 8
versionName "1.0.7"
versionCode 9
versionName "1.0.8"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -129,6 +129,10 @@ class RecommendBannerActivity : BaseActivity(),RecommendBannerView, View.OnClick
override fun onPageScrollStateChanged(state: Int) {}
})
tv_banner_title.text = String.format("《%1s》", data[0].title)
if(data!=null&&data.size>0){
tv_banner_title.text = String.format("《%1s》", data[0].title)
banner=data[0]
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment