Browse Source

Account delete fixes

master
preyearegmi 6 years ago
parent
commit
edff1da173
  1. BIN
      .idea/caches/build_file_checksums.ser
  2. 2
      app/src/main/java/com/gmeremit/online/gmeremittance_native/autodebitV2/adapter/autodebitaccountlisting/AccountListingRvAdapter.java

BIN
.idea/caches/build_file_checksums.ser

2
app/src/main/java/com/gmeremit/online/gmeremittance_native/autodebitV2/adapter/autodebitaccountlisting/AccountListingRvAdapter.java

@ -83,7 +83,7 @@ public class AccountListingRvAdapter extends RecyclerView.Adapter<AccountListing
while(iterator.hasNext())
{
AutoDebitAccount item=iterator.next();
if(item.getAccountNum().equalsIgnoreCase(accountToBeDeleted.getAccountNum())&&item.getBankName().equalsIgnoreCase(accountToBeDeleted.getBankName())) {
if(item.getKftcAccountId().equalsIgnoreCase(accountToBeDeleted.getKftcAccountId())) {
iterator.remove();
notifyItemRemoved(count);
}

Loading…
Cancel
Save