public static CreateTagDialogFragment NewInstance (Guid workspaceId) { var fragment = new CreateTagDialogFragment (); var args = new Bundle (); args.PutString (WorkspaceIdArgument, workspaceId.ToString ()); fragment.Arguments = args; return fragment; }
public static CreateTagDialogFragment NewInstance(Guid workspaceId) { var fragment = new CreateTagDialogFragment(); var args = new Bundle(); args.PutString(WorkspaceIdArgument, workspaceId.ToString()); fragment.Arguments = args; return(fragment); }
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(); }