cache.getListNameTextView().setText(dto.getListName());
cache.getDeadLineTextView().setText(dto.getDeadlineDate());
cache.getShowDetailsImageButton().setVisibility(View.GONE);
int reminderStatus = shoppingListService.getReminderStatusResource(dto);
cache.getReminderBar().setImageResource(reminderStatus);
<BUG>int nrProducts = productService.getAllProducts(dto.getId()).size();
cache.getNrProductsTextView().setText(String.valueOf(nrProducts));

setupPriorityIcon(dto);</BUG>
setupReminderIcon(dto);

cache.getListNameTextView().setText(dto.getListName());
cache.getDeadLineTextView().setText(dto.getDeadlineDate());
cache.getShowDetailsImageButton().setVisibility(View.GONE);
int reminderStatus = shoppingListService.getReminderStatusResource(dto);
cache.getReminderBar().setImageResource(reminderStatus);
final TotalDto[] totalDto = new TotalDto[ 1 ];
productService.getInfo(dto.getId())
.doOnNext(result -> totalDto[ 0 ] = result)
.doOnCompleted(() ->
cache.getNrProductsTextView().setText(String.valueOf(totalDto[ 0 ].getNrProducts()))
).subscribe();
setupPriorityIcon(dto);
setupReminderIcon(dto);
