去掉道路事件上报时的poiType判断

This commit is contained in:
tongchenfei
2020-09-10 17:41:39 +08:00
parent 79cee5abb5
commit 9c7a5db517
5 changed files with 36 additions and 28 deletions

View File

@@ -39,6 +39,11 @@ class GridBtnManager(val context: Context, private val container: GridLayout, pr
} else {
GlideApp.with(context).load(button.iconRes).placeholder(button.iconRes).error(button.iconRes).into(img)
}
// if (button.iconUrl.isNotEmpty()) {
// GlideApp.with(context).load(button.iconUrl).into(img)
// } else {
// GlideApp.with(context).load(button.iconRes).into(img)
// }
content.text = button.title
view.setOnClickListener {
btnClickListener?.invoke(button)