EGOR-IND commented on a change in pull request #122:
URL: https://github.com/apache/fineract-cn-mobile/pull/122#discussion_r593405700
##########
File path:
app/src/main/java/org/apache/fineract/ui/online/loanaccounts/plannedpayment/PlannedPaymentPresenter.java
##########
@@ -56,7 +56,7 @@ public void detachView() {
@Override
public void fetchPlannedPayment(String productIdentifier, String
caseIdentifier,
Integer pageIndex, String initialDisbursalDate, Boolean loadmore) {
- this.loadmore = loadmore;
+// this.loadmore = loadmore;
Review comment:
Actually, I saw the code and I think loadmore is an important variable
because there is another overloaded function fetchPlannedPayment which isn't
taking loadmore as a parameter. So, I think what you need to do is go to [this
line](https://github.com/EGOR-IND/fineract-cn-mobile/blob/592099e802aee546a145f8c9e96a3aecd149312b/app/src/main/java/org/apache/fineract/ui/online/loanaccounts/plannedpayment/PlannedPaymentFragment.java#L144)
and change the passed true to false which will stop the fetchPlannedPayment
method to load it twice:).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]