private void LoadRank() { RankList.Clear(); foreach (var model in SharedPreference.Instance.RankList) { RankList.Add(model); Title = "RANK"; } var list = RankList.OrderBy(p => p.RANK_CODE); RankList = new ObservableCollection <RankModel>(list); }
private void LoadRank() { RankList.Clear(); foreach (var model in SharedPreference.Instance.RankList) { RankList.Add(model); Title = "RANK"; } var list = RankList.OrderBy(p => p.RANK_CODE); RankList = new ObservableCollection <RankModel>(list); }