public static NewInstance ( Bundle bundle ) : |
||
bundle | Bundle | Usually this would be MvxViewModelRequest serialized |
return |
public static MvxFragment NewInstance(Bundle bundle)
{
// Setting Arguments needs to happen before Fragment is attached
// to Activity. Arguments are persisted when Fragment is recreated!
var fragment = new MvxFragment { Arguments = bundle };
return fragment;
}