bug fixes
This commit is contained in:
@@ -39,6 +39,7 @@ import ch.pizzalink.android.helper.ImageLoadHelper;
|
||||
import ch.pizzalink.android.helper.PriceHelper;
|
||||
import ch.pizzalink.android.helper.SessionHelper;
|
||||
import ch.pizzalink.android.helper.SharedPrefsHelper;
|
||||
import ch.pizzalink.android.helper.TextHelper;
|
||||
import ch.pizzalink.android.interfaces.RecyclerItemClickListener;
|
||||
import ch.pizzalink.android.model.AddProductToBasketResponseModel;
|
||||
import ch.pizzalink.android.model.AddToBasketOptionModel;
|
||||
@@ -61,6 +62,7 @@ public class ProductPropertiesActivity extends BaseActivity {
|
||||
@BindView(R.id.productImageView) ImageView productImageView;
|
||||
@BindView(R.id.productNameTextView) TextView productNameTextView;
|
||||
@BindView(R.id.productPriceTextView) TextView productPriceTextView;
|
||||
@BindView(R.id.productDescriptionTextView) TextView productDescriptionTextView;
|
||||
@BindView(R.id.addToCartButton) Button addToCartButton;
|
||||
@BindView(R.id.radioRecyclerHeaderTextView) TextView radioRecyclerHeaderTextView;
|
||||
@BindView(R.id.radioRecyclerView) RecyclerView radioRecyclerView;
|
||||
@@ -230,6 +232,7 @@ public class ProductPropertiesActivity extends BaseActivity {
|
||||
}
|
||||
|
||||
private void setFields(){
|
||||
TextHelper.setTextFromHTML(productDescriptionTextView, menuProductModel.getDescription());
|
||||
ImageLoadHelper.loadImage(productImageView, menuProductModel.getImageURL());
|
||||
productNameTextView.setText(menuProductModel.getName());
|
||||
productPriceTextView.setText(PriceHelper.getPriceWithCurreny(menuProductModel.getPrice()));
|
||||
|
||||
@@ -78,6 +78,7 @@ public class MenuProductModel implements Serializable {
|
||||
return ProductOptionType.RADIO_AND_CHECKBOX;
|
||||
default:
|
||||
return ProductOptionType.NO_TYPE;
|
||||
//return ProductOptionType.RADIO_AND_CHECKBOX;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user