コード例 #1
0
  @Override
  public View onCreateView(
      LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    super.onCreateView(inflater, container, savedInstanceState);

    mListView = new TouchInterceptor(getContext());
    mListView.setId(android.R.id.list);

    return mListView;
  }
コード例 #2
0
 @Override
 public View onCreateView(
     LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
   super.onCreateView(inflater, container, savedInstanceState);
   return inflater.inflate(R.layout.fragment_choose_application, container);
 }
コード例 #3
0
 @Override
 public View onCreateView(
     LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
   super.onCreateView(inflater, container, savedInstanceState);
   return inflater.inflate(R.layout.word_list, container, false);
 }