I\'m trying to show my results search in a ListView on the Fragment, but it fails on:
ListView
Fragment
LayoutInflater inflater = getLayoutInflater()
if you are in a fragment you want
getActivity().getLayoutInflater();
or
LayoutInflater.from(getActivity());
also you can do
View.inflate();
LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);