Code example for ListFragment

import android.view.ViewGroup; 
import android.widget.AbsListView; 
import android.widget.AbsListView.OnScrollListener; 
import android.widget.ListView; 
public class BaseSupportListFragment extends ListFragment implements IBaseFragment, Constants, OnScrollListener,
		RefreshScrollTopInterface { 
	private boolean mActivityFirstCreated;
	private boolean mIsInstanceStateSaved;
	private boolean mReachedBottom, mNotReachedBottomBefore = true;
	public final TwidereApplication getApplication() { 
		return TwidereApplication.getInstance(getActivity());
	public final ContentResolver getContentResolver() {
		final Activity activity = getActivity();
		if (activity != null) return activity.getContentResolver();
Connect your IDE to all the code out there  Get Codota for Java