use of edu.berkeley.cs.amplab.carat.android.lists.ProcessInfoAdapter in project carat by amplab.
the class ProcessListFragment method onCreateView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.processlist, container, false);
ListView lv = (ListView) view.findViewById(R.id.processList);
List<ProcessInfo> searchResults = SamplingLibrary.getRunningAppInfo(getActivity());
lv.setAdapter(new ProcessInfoAdapter(getActivity(), searchResults));
Tracker tracker = Tracker.getInstance();
tracker.trackUser("ProcessList");
return view;
}
Aggregations