Reyaz | refactor offer accept fragment
This commit is contained in:
@@ -53,8 +53,8 @@ class PreliminaryOfferFragment : Fragment() {
|
||||
binding.tenureSlider.max = viewModel.getTenureListSize() - 1
|
||||
var loanAmount = offer?.loanAmount
|
||||
var loanTenure = offer?.tenure
|
||||
binding.minAmountTxt.setText(loanAmount?.min?.getDisplayStr())
|
||||
binding.maxAmountTxt.setText(loanAmount?.max?.getDisplayStr())
|
||||
binding.minAmountTxt.setText(loanAmount?.min?.getDisplayAmount())
|
||||
binding.maxAmountTxt.setText(loanAmount?.max?.getDisplayAmount())
|
||||
|
||||
binding.minTenureTxt.setText(loanTenure?.min?.getDisplayStr())
|
||||
binding.maxTenureTxt.setText(loanTenure?.max?.getDisplayStr())
|
||||
@@ -113,7 +113,7 @@ class PreliminaryOfferFragment : Fragment() {
|
||||
|
||||
|
||||
viewModel.selectedLoanAmount.observe(this, Observer { loanAmount ->
|
||||
binding.loanSelectedAmountTxt.text = loanAmount?.getDisplayStr()
|
||||
binding.loanSelectedAmountTxt.text = loanAmount?.getDisplayAmount()
|
||||
})
|
||||
|
||||
viewModel.selectedTenureDetails.observe(this, Observer { tenureDetails ->
|
||||
|
||||
Reference in New Issue
Block a user