Commit 6d9ec015 by upwork.021

feat: 代码优化,组件升级

parent a039c65c
......@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.72",
"m-consultant" : "0.0.60.28",
"m-consultant" : "0.0.60.30",
"m-fm" : "0.0.30.08",
"m-user" : "0.0.62.04",
"m-home" : "0.0.23.44",
......@@ -92,7 +92,7 @@ ext {
//第三步 若干
"m-confide" : "0.0.49.72",
"m-consultant" : "0.0.60.21",
"m-consultant" : "0.0.60.30",
"m-fm" : "0.0.30.08",
"m-user" : "0.0.62.04",
"m-home" : "0.0.23.41",
......
......@@ -10,7 +10,6 @@ import android.content.Intent
import android.graphics.Typeface
import android.os.Handler
import android.text.TextUtils
import android.view.Gravity
import android.view.View
import android.view.WindowManager
import android.view.inputmethod.InputMethodManager
......@@ -390,7 +389,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
initCategory = mIntent.getStringExtra(EXTRA_CATEGORY) ?: ""
initShowType = mIntent.getIntExtra(EXTRA_SHOW_TYPE, 0)
tv_search_content.text = mIntent.getStringExtra(EXTRA_SEARCH_WORD)
mSign2 = mIntent.getStringExtra("sign2")
mSign2 = mIntent.getStringExtra("sign2")?:""
getRouterParam()
allFilter.showType.key = initShowType
......@@ -401,7 +400,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
}
getPresenter().fetchListHead()
refresh(false)
// refresh(false)
v_loading.visibility = View.VISIBLE
v_loading.setViewType(LogoLoadingView.TYPE_LOADING, null)
......@@ -510,7 +509,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
}
filterLabelSet()
//开始筛选数据
refresh()
// refresh()
}
view.addView(textView)
}
......
......@@ -435,7 +435,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
}
filterLabelSet()
//开始筛选数据
refresh()
// refresh()
}
view.addView(textView)
}
......
......@@ -183,7 +183,7 @@ class ExpertSearchAdapter(
holder.imgActivity.visibility = View.GONE
}
//新驻图标
if (itemBean.is_new_enter) {
if (itemBean.is_new_enter!=null&&itemBean.is_new_enter!!) {
if (null != itemBean.icons && !TextUtils.isEmpty(itemBean.icons.new_enter_icon)) {
expertSearchView.showImage(
itemBean.icons.new_enter_icon,
......
......@@ -54,7 +54,7 @@ data class ExpertServiceItem(
/**
* 是否新入驻:true:是,false:否
*/
var is_new_enter: Boolean = false,
var is_new_enter: Boolean?,
/**
* 好评率(倾诉+咨询)
*/
......
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