摘要:
1.快速添加add unimplements methods: 右键generate 2.快速添加try-catch:左边就有一个小电灯,然后可以选。 3.格式化OPTION + CMD + L (Mac) 阅读全文
摘要:
1.在Fragment的OnCreateView中如果要调用TextView,应该用: TextView tv = (TextView)rootView.findViewById(R.id.tv1); 而不能用Activity中常用的: TextView tv = (TextView)getView 阅读全文