Commit d23b0d27 authored by wanglei's avatar wanglei

...

parent 6778390c
......@@ -150,7 +150,7 @@ class ResultActivity : BaseActivity<ActivityResultBinding>() {
LogEx.logDebug(TAG, "beanCallBack")
// val newsAdList = AdmobNativeUtils.addNativeAdNewsBean(it)
if (lastNewsId == null) {
newsAdapter.add(AdmobNativeUtils.readyNative[0])
runCatching { newsAdapter.add(AdmobNativeUtils.readyNative[0]) }
newsAdapter.addAll(it)
} else {
newsAdapter.addAll(it)
......
......@@ -249,7 +249,7 @@ object DialogViews {
if (binding.ivSelectorSearchRecord.isSelected) {
SpBeanUtils.clearSpBean(SEARCH_RECORD_SP_KEY)
}
if (binding.ivSelectorHistoricalRecord.isSelected){
if (binding.ivSelectorHistoricalRecord.isSelected) {
SpBeanUtils.clearSpBean(HISTORY_SP_KEY)
}
}
......@@ -485,6 +485,7 @@ object DialogViews {
behavior.state = BottomSheetBehavior.STATE_EXPANDED
binding.tvBtn.setOnClickListener {
dialog.dismiss()
action.invoke()
}
}
......
......@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<FrameLayout
......
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