首页、支付功能
This commit is contained in:
@@ -26,7 +26,7 @@ class SearchFoodAdapter(var list: MutableList<FoodInfo>) :
|
||||
text = item.foodName
|
||||
} else {
|
||||
val score = (item.score / 100.0).format2String(2)
|
||||
text = "${item.foodName}\n${score}%"
|
||||
text = item.foodName + if (item.score != 0) "-${score}%" else ""
|
||||
}
|
||||
isChecked = item.isChecked
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user