예제 #1
0
        public static AddCommentDialogFragment NewInstance(List <string> formationsList)
        {
            AddCommentDialogFragment fragment = new AddCommentDialogFragment();

            formations         = formationsList;
            fragment.Arguments = new Bundle();
            return(fragment);
        }
예제 #2
0
        private async void requestNewComment()
        {
            List <string> formations = await FSNotesHandler.getFormationFilterListAsync();

            formations.Sort(new FormationSorter());
            AddCommentDialogFragment commentDialog = AddCommentDialogFragment.NewInstance(formations);

            startDialogFragment(commentDialog);
        }