コード例 #1
0
 public static SearchedSessionsFragment NewInstance(ISearchGroup searchGroup)
 {
     var fragment = new SearchedSessionsFragment();
     var bundle = new Bundle();
     bundle.PutParcelable(typeof(ISearchGroup).Name, Parcels.Wrap(searchGroup));
     fragment.Arguments = bundle;
     return fragment;
 }
コード例 #2
0
        public static SearchedSessionsFragment NewInstance(ISearchGroup searchGroup)
        {
            var fragment = new SearchedSessionsFragment();
            var bundle   = new Bundle();

            bundle.PutParcelable(typeof(ISearchGroup).Name, Parcels.Wrap(searchGroup));
            fragment.Arguments = bundle;
            return(fragment);
        }