Example #1
0
        private void OnPivotIndexChanged(int newIndex)
        {
            switch (newIndex)
            {
            case 0:
                Tracks?.Load();
                break;

            case 1:
                Artists?.Load();
                break;

            case 2:
                Albums?.Load();
                break;

            case 3:
                Genres?.Load();
                break;

            case 4:
                Folders?.Load();
                break;

            case 5:
                Cached?.Load();
                break;
            }
        }