コード例 #1
0
 public static EditorFragment newInstance(String title, String content) {
   EditorFragment fragment = new EditorFragment();
   Bundle args = new Bundle();
   args.putString(ARG_PARAM_TITLE, title);
   args.putString(ARG_PARAM_CONTENT, content);
   fragment.setArguments(args);
   return fragment;
 }