下面列出了怎么用android.support.v4.app.ListFragment的API类实例代码及写法,或者点击链接到github查看源代码。
public LoadableDecorator(LoaderCallbacks<Result<T>> callbacks, int loaderId,
ListFragment listFragment) {
super();
this.mCallbacks = Preconditions.checkNotNull(callbacks);
this.mLoaderId = loaderId;
this.mListFragment = Preconditions.checkNotNull(listFragment);
this.mAdapterView = Preconditions.checkNotNull(listFragment.getListView());
mListFragment.setListShown(false);
}
public ListFragmentAssert(ListFragment actual) {
super(actual, ListFragmentAssert.class);
}