public static CreateTagDialogFragment NewInstance (Guid workspaceId)
        {
            var fragment = new CreateTagDialogFragment ();

            var args = new Bundle ();
            args.PutString (WorkspaceIdArgument, workspaceId.ToString ());
            fragment.Arguments = args;

            return fragment;
        }
示例#2
0
        public static CreateTagDialogFragment NewInstance(Guid workspaceId)
        {
            var fragment = new CreateTagDialogFragment();

            var args = new Bundle();

            args.PutString(WorkspaceIdArgument, workspaceId.ToString());
            fragment.Arguments = args;

            return(fragment);
        }
示例#3
0
        private void OnCreateButtonClicked(object sender, DialogClickEventArgs args)
        {
            // Commit changes the user has made thusfar
            if (updateTagHandler != null)
            {
                updateTagHandler.OnModifyTagList(SelectedTags);
            }

            CreateTagDialogFragment.NewInstance(WorkspaceId)
            .SetCreateNewTagHandler(updateTagHandler)
            .Show(FragmentManager, "new_tag_dialog");

            Dismiss();
        }