Toggl.Joey.UI.Fragments.ProjectListFragment.NewInstance C# (CSharp) Method

NewInstance() public static method

public static NewInstance ( IList timeEntryIds ) : ProjectListFragment
timeEntryIds IList
return ProjectListFragment
        public static ProjectListFragment NewInstance (IList<string> timeEntryIds)
        {
            var fragment = new ProjectListFragment ();

            var args = new Bundle ();
            args.PutStringArrayList (TimeEntryIdsArg, timeEntryIds);
            fragment.Arguments = args;

            return fragment;
        }