how to solve this problem error: bad operand types for binary operator '*' ?
this is my code :
int minimal = (Integer.parseInt(TextUtils.isEmpty(listData.get(position).getMinimal()) ? "0" : listData.get(position).getMinimal()))
*(TextUtils.isEmpty(listData.get(position).getQuantity()) ? "0" : listData.get(position).getQuantity());
this is the error : Error:(80, 17) error: bad operand types for binary operator '*'
first type: int
second type: String
Can someone help me? I'm new to android studio and this is my first time working with it. Thanks in advance for your time. :)