Example #1
0
        private void OpenIconDialog(int position)
        {
            var fragment = new ChangeIconBottomSheet(position, IsDark);

            fragment.IconSelect         += OnIconDialogIconSelected;
            fragment.UseCustomIconClick += delegate
            {
                _customIconApplyPosition = position;
                OpenImagePicker(ResultCustomIconSAF);
            };
            fragment.Show(SupportFragmentManager, fragment.Tag);
        }
        /*
         *  Icon Dialog
         */

        private void OpenIconDialog(int position)
        {
            var fragment = new ChangeIconBottomSheet(position, IsDark);

            fragment.IconSelect         += OnIconDialogIconSelected;
            fragment.UseCustomIconClick += (sender, args) =>
            {
                _customIconApplyPosition = position;
                StartCustomIconPicker();
            };
            fragment.Show(SupportFragmentManager, fragment.Tag);
        }