Загрузка данных


        with(subHeader) {
            tvTaxesAndFeesPrice.gone()
            if (!isAward) {
                safeLet(price.tax_total_amount, price.currency) { taxTotalPrice, currency ->
                    if (taxTotalPrice.isFilled() || currency.isFilled()) {

                        val formattedPrice = priceFormatter.formatPriceWithCurrency(
                            price = taxTotalPrice,
                            currencyCode = currency
                        ).replace(String.Space, String.UnbreakableSpace)

                        tvTaxesAndFeesPrice.show()
                        tvTaxesAndFeesPrice.text =
                            view.context.getString(R.string.buyticket_taxes_fees_user_alert_name, formattedPrice)
                    }
                }
                if (isRecommended) {
                    tvTaxesAndFeesPrice.updateLayoutParams<ViewGroup.MarginLayoutParams> {
                        updateMargins(bottom = 0.dp.toPx)
                    }
                } else {
                    tvTaxesAndFeesPrice.updateLayoutParams<ViewGroup.MarginLayoutParams> {
                        updateMargins(bottom = 16.dp.toPx)
                    }
                }
            } else {
                tvTaxesAndFeesPrice.gone()
            }
        }