dilpreet96 commented on a change in pull request #10: feat: Sync feature for
customer and customer details
URL: https://github.com/apache/fineract-cn-mobile/pull/10#discussion_r203806443
##########
File path:
app/src/main/java/org/apache/fineract/ui/adapters/CustomerAdapter.java
##########
@@ -67,7 +67,12 @@ public void onBindViewHolder(ViewHolder holder, int
position) {
customer.getIdentifier()), holder.ivCustomerImage,
R.drawable.ic_account_circle_black_24dp);
- StatusUtils.setCustomerStatus(customer.getCurrentState(),
holder.ivStausIndicator, context);
+ if (customer.getCurrentState() != null) {
+ StatusUtils.setCustomerStatus(customer.getCurrentState(),
holder.ivStausIndicator,
Review comment:
It can be now, this same adapter is being used in the draft customers
section where the draft customer does not have a state.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services