【问题描述】
Android中如下代码:
LinearLayout groupPollingAddress = (LinearLayout)findViewById(R.layout.fragment_field_list);
返回为null。
【解决过程】
1.参考:
android – getActivity().findViewById(R.layout.contacts_list_view) returns null – Stack Overflow
AndroidGUI27中findVi...