How to get HashMap id value in ListView onItemClick?

前端 未结 2 2034
悲&欢浪女
悲&欢浪女 2021-01-03 09:09

I tried to add ImageList to my application. i added it successfully. It shows Logos of banks which i was selected. I added that through HashMap, because i w

2条回答
  •  没有蜡笔的小新
    2021-01-03 09:59

    You should create a Bank object that as a name and a logo as attributes and then pass an ArrayList of bank objects to your adapter.

提交回复
热议问题