public static void PreferredSupportOnResume(PreferenceFragmentCompat Pref)
        {
            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_servant)) is MultiSelectListPreference pref)
            {
                var entries = Directory
                              .EnumerateFileSystemEntries(ImageLocator.SupportServantImgFolder)
                              .Select(Path.GetFileName)
                              .OrderBy(M => M)
                              .ToArray();

                pref.SetEntryValues(entries);
                pref.SetEntries(entries);
            }

            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_ce)) is MultiSelectListPreference prefce)
            {
                var entries = Directory
                              .EnumerateFiles(ImageLocator.SupportCeImgFolder)
                              .Select(Path.GetFileName)
                              .OrderBy(M => M)
                              .ToArray();

                prefce.SetEntryValues(entries);
                prefce.SetEntries(entries);
            }
        }
        public static void PreferredSupportOnCreate(PreferenceFragmentCompat Pref)
        {
            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_servant)) is MultiSelectListPreference pref)
            {
                pref.SummaryProvider = new MultiSelectListSummaryProvider();

                if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_servant_clear)) is { } servClear)
                {
                    servClear.PreferenceClick += (S, E) => pref.Values = new List <string>();
                }
            }

            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_ce)) is MultiSelectListPreference prefce)
            {
                prefce.SummaryProvider = new MultiSelectListSummaryProvider();

                if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_ce_clear)) is { } ceClear)
                {
                    ceClear.PreferenceClick += (S, E) => prefce.Values = new List <string>();
                }
            }
        }
        public static void SetupServantAndCEPrefs(PreferenceFragmentCompat Pref)
        {
            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_servant)) is MultiSelectListPreference pref)
            {
                var entries = Directory
                              .EnumerateFileSystemEntries(ImageLocator.SupportServantImgFolder)
                              .Select(Path.GetFileName)
                              .OrderBy(M => M)
                              .ToArray();

                pref.SetEntryValues(entries);
                pref.SetEntries(entries);
                pref.SummaryProvider = new MultiSelectListSummaryProvider();

                if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_servant_clear)) is { } servClear)
                {
                    servClear.PreferenceClick += (S, E) => pref.Values = new List <string>();
                }
            }

            if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_ce)) is MultiSelectListPreference prefce)
            {
                var entries = Directory
                              .EnumerateFiles(ImageLocator.SupportCeImgFolder)
                              .Select(Path.GetFileName)
                              .OrderBy(M => M)
                              .ToArray();

                prefce.SetEntryValues(entries);
                prefce.SetEntries(entries);
                prefce.SummaryProvider = new MultiSelectListSummaryProvider();

                if (Pref.FindPreference(Pref.GetString(Resource.String.pref_support_pref_ce_clear)) is { } ceClear)
                {
                    ceClear.PreferenceClick += (S, E) => prefce.Values = new List <string>();
                }
            }
        }