解决方案 »
- SIP服务器(Kamailio) 无法使用公网IP
- 谁用过i-Jetty搭建过手机http服务器?如何将SD卡目录作为网站目录?
- 如何给定屏幕作标,触发单击屏幕事件
- 想做一个天气预报的应用,除了Google还有什么网址可以用xml解析的??
- android高手请进。。。。。。
- 继preference之后的思考
- 加了try catch报错
- OTA只是重启,而进不了recovery
- 当 EditText 空值时,EditText 却无法获得焦点和弹窗软键盘
- Android studio 中出现emulation: WARNING: UpdateCheck:Failure: Error 时该怎样解决呢?
- android 小程序,求大神调试,,高分
- httppost chunked编码问题
textView = (TextView)findViewById(R.id.textView);
textView.setText("Hello Dylan");修改fragment的oncreateview
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {View rootView = inflater.inflate(R.layout.fragment_main, container,
false);
TextView textView = (TextView)rootView.findViewById(R.id.textView);
textView.setText("Hello Dylan");
return rootView;
}
}
后来我把textView属性改为static变量,显示没有出错感谢啊
后来我把textView属性改为static变量,显示没有出错感谢啊