示例#1
0
 public static LogFragment newInstance(String user_id) {
   Bundle arguments = new Bundle();
   arguments.putString(USER_ID, user_id);
   LogFragment fragment = new LogFragment();
   fragment.setArguments(arguments);
   return fragment;
 }
示例#2
0
 public static LogFragment newInstance(Bundle args) {
   LogFragment fragment = new LogFragment();
   fragment.setArguments(args);
   return fragment;
 }