Commit 294761cf by 霍志良

feat:修改bug

parent 5743717e
......@@ -48,8 +48,6 @@ class AreaPopupWindow(
var onRegionSelectedListener: OnRegionSelectedListener? = null
private var subLocationItem: SubItem? = SubItem()
private val locationCode = "-1"
private val recentCityCode = "0"
private var locationRegionItem: RegionItem? = null
private var locationList: ArrayList<SubItem>? = arrayListOf()
private var locationHistoryList = regionList
......@@ -69,11 +67,12 @@ class AreaPopupWindow(
} else {
subList.addAll(regionList[0].sub)
}
recentCityBean =
MMKV.defaultMMKV().decodeParcelable(
RECENT_CITY,
ConsultantRecentCity::class.java
)
recentCityBean =
MMKV.defaultMMKV().decodeParcelable(
RECENT_CITY,
ConsultantRecentCity::class.java
)
if (recentCityBean == null) recentCityBean = ConsultantRecentCity(arrayListOf())
subAdapter = SubRecyclerViewAdapter(context, subList, selectedSub, locationCode)
subAdapter.setOnAuthClickLister(object : SubRecyclerViewAdapter.OnAuthClickLister {
override fun onAuthClick() {
......
......@@ -111,13 +111,15 @@ class PricePopupWindow(
) {
if (track) {
max_Price = ((rightValue / 100) * maxPriceValue).toInt().toString()
min_Price = ((leftValue / 100) * maxPriceValue).toInt().toString()
tempFilter.priceRanges = PriceRangesItem(min_Price, max_Price)
if (rightValue > 93) {
max_Price = infiniteText
}
min_Price = ((leftValue / 100) * maxPriceValue).toInt().toString()
ActionCountUtils.count(PRICE_SLIDE_CLICK, "$min_Price-$max_Price")
contentView.tv_start_end_price.text =
"$min_Price-$max_Price"
}
}
......
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