Observable < List < LoanRepaymentRequest >> function ( int arg0 ) { return mDatabaseHelperLoan . deleteAndUpdateLoanRepayments ( arg0 ) ; }
this method sending request databasehelper and deleting the loanrepayment with loanid from loanrepayment_table and again loading list of loanrepayment from database . concode_field_sep BaseApiManager mBaseApiManager concode_elem_sep DatabaseHelperLoan mDatabaseHelperLoan concode_field_sep Observable<LoanWithAssociations> syncLoanById concode_elem_sep Observable<LoanRepaymentRequest> getDatabaseLoanRepaymentByLoanId concode_elem_sep Observable<LoanRepaymentRequest> updateLoanRepaymentTransaction concode_elem_sep Observable<LoanRepaymentTemplate> getLoanRepayTemplate concode_elem_sep Observable<LoanRepaymentResponse> submitPayment concode_elem_sep Observable<List<LoanProducts>> getAllLoans concode_elem_sep Observable<Loans> createLoansAccount concode_elem_sep Observable<LoanWithAssociations> getLoanById concode_elem_sep Observable<LoanRepaymentTemplate> syncLoanRepaymentTemplate concode_elem_sep Observable<LoanTemplate> getLoansAccountTemplate concode_elem_sep Observable<List<PaymentTypeOption>> getPaymentTypeOption concode_elem_sep Observable<List<LoanRepaymentRequest>> getDatabaseLoanRepayments