Commit 294761cf by 霍志良

feat:修改bug

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