Code example for ListFragment

Methods: onDestroyView

0
 
	@Override 
	public void onDestroyView() { 
		mTracker.stopSession();
		UserDataManager.instance.removeUserDataListener(this);
		super.onDestroyView(); 
	} 
 
	@Override 
	public void onListItemClick(ListView l, View v, int position, long id) {
		Flat flat = mFlats.get(position);
		DialogFragment newFragment = ExposeFragment.newInstance(flat);
		newFragment.show(getActivity().getSupportFragmentManager(), "dialog");
 
		mEventListener.onTrackEvent(TrackingManager.CATEGORY_CLICKS, TrackingManager.ACTION_EXPOSE,
				TrackingManager.LABEL_EXPOSE_PORTFOLIO, 0); 
	} 
 
	@Override 
	public void onUserDataUpdated() { 
Experience pair programming with AI  Get Codota for Java