コード例 #1
0
 public static FullOrderFragment newInstance(Date date) {
   FullOrderFragment fragment = new FullOrderFragment();
   Bundle args = new Bundle();
   args.putSerializable("execDate", date);
   fragment.setArguments(args);
   return fragment;
 }
コード例 #2
0
 public static FullOrderFragment newInstance(int orderId) {
   FullOrderFragment fragment = new FullOrderFragment();
   Bundle args = new Bundle();
   args.putInt("orderId", orderId);
   fragment.setArguments(args);
   return fragment;
 }