接着上一篇项目的进度,上一篇讲了如何利用ragment来实现下拉菜单,公用菜单,以实现切换主界面数据的功能,
Map<Object,Object> param = new HashMap<Object, Object>(); param.put("bianhao", bianhao); param.put("mingcheng", mingCheng); param.put("pic", pic); //新增日志记录开始 List para = new ArrayList(); para.add("系统设置-设备类型管理页面"); para.add("新增设备大类,大类名称:"+param.get("mingcheng")); new SystemLogWeb().inserSystemLog(para); //新增日志记录结束 return sbd.addSheBeiDaLei(param);
hehe
Map<Object,Object> param = new HashMap<Object, Object>(); param.put("bianhao", bianhao); param.put("mingcheng", mingCheng); param.put("pic", pic); //新增日志记录开始 List para = new ArrayList(); para.add("系统设置-设备类型管理页面"); para.add("新增设备大类,大类名称:"+param.get("mingcheng")); new SystemLogWeb().inserSystemLog(para); //新增日志记录结束 return sbd.addSheBeiDaLei(param);
_________________________________________________________
private void initOpenMenuItem(View popupWindow_view) {
DrawableCenterTextView menu_price = (DrawableCenterTextView) popupWindow_view
.findViewById(R.id.menu_price);
menu_price.setOnClickListener(new OnClickListener() {
FragmentTransaction transaction;
@Override
public void onClick(View v) {
transaction = manager.beginTransaction();
transaction.replace(R.id.fragment_container, priceFragment);
titleView.setText(priceFragment.getFragmentTitle());
transaction.commit();
popupWindow.dismiss();
}
});
}
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。