therajanmaurya 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_r203734768
 
 

 ##########
 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:
   wrong, It can't be null in any case 

----------------------------------------------------------------
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

Reply via email to