public void ApplyPriceRange(long minPrice, long maxPrice) { if (minPrice == _lowestPriceInLong && maxPrice == _highestPriceInLong) { return; } _lowestPriceInLong = minPrice; _highestPriceInLong = maxPrice; _lowestPrice = PriceExtension.ConvertAmountToDouble(minPrice); _highestPrice = PriceExtension.ConvertAmountToDouble(maxPrice); _minPriceValue = _lowestPrice; _maxPriceValue = _highestPrice; SetMinPriceText(_lowestPrice); SetMaxPriceText(_highestPrice); UpdateSliderValues(); }
public override void ResetShowingParams(ShowingItemsInfo showingInfo) { _minPriceValue = PriceExtension.ConvertAmountToDouble(showingInfo.MinPriceRange); _maxPriceValue = PriceExtension.ConvertAmountToDouble(showingInfo.MaxPriceRange); }