admin
- 管理员
- 535
- 5885
- 2018-07-20
|
1#
t
T
发表于 2018-08-02 17:07
|只看楼主
- else if (sPAGE_ID.equals("app_txl")) {
- HashMap<String, Object> map = new HashMap<String, Object>();
- //添加图像资源的ID
- map.put("ItemImage", R.drawable.app_txl);
- //按序号做ItemText
- map.put("ItemText", sPAGE_NAME);
- lstImageItem.add(map);
- }
- else if (sPAGE_ID.equals("app_jsb")) {
- HashMap<String, Object> map = new HashMap<String, Object>();
- //添加图像资源的ID
- map.put("ItemImage", R.drawable.app_jsb);
- //按序号做ItemText
- map.put("ItemText", sPAGE_NAME);
- lstImageItem.add(map);
- }
- else if (sPAGE_ID.equals("app_dbsx")) {
- HashMap<String, Object> map = new HashMap<String, Object>();
- //添加图像资源的ID
- map.put("ItemImage", R.drawable.app_dbsx);
- //按序号做ItemText
- map.put("ItemText", sPAGE_NAME);
- lstImageItem.add(map);
- }
复制代码
|