@Override public ImageResource getValue(GerenteZonalProxy object) { if (object.getEstado() == 1) { return MyResource.INSTANCE.getImgGreen20(); } else if (object.getEstado() == 0) { return MyResource.INSTANCE.getImgGray20(); } else { return null; } }
@Override public ImageResource getValue(PrecioItemProxy object) { if (object.getEstadoColor().equalsIgnoreCase("A1")) { return MyResource.INSTANCE.getImgGreen20(); } else if (object.getEstadoColor().equalsIgnoreCase("A0")) { return MyResource.INSTANCE.getImgOrange20(); } else { return MyResource.INSTANCE.getImgGray20(); } }