Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public static LogFragment newInstance(Bundle args) {
   LogFragment fragment = new LogFragment();
   fragment.setArguments(args);
   return fragment;
 }