mifos-mobile
mifos-mobile copied to clipboard
Incorrect logic in LoanApplicationFragment.kt
trafficstars
Summary: The following code snippets are from LoanApplicationFragment.kt In loanPurposeOptions, we manually add the first item, which is R.string.loan_purpose_not_provided (As shown in Image 1) In onItemSelected we store the id of the selected position in the variable purposeId (As shown in image 2) But we should store the value of position-1 and when position is 0, we should assign -1 to purposeId
Screenshots:


@miPlodder Can you please review