@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_a, container, false); listView = view.findViewById(R.id.listview); return view; }
@Override public void onActivityCreated(@Nullable Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); listView = getActivity().findViewById(R.id.listview); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)