// Constructor private DashboardVM() { Debug.WriteLine("Constructing EXTERNAL container...."); cloud_service = new CloudProxy(); _dashboard = new ObservableCollection <DashPostVM>(); // set selectoedIndex to be negative, avoiding pointing to an empty index in case collection is empty SelectedIndex = -1; }
public CloudProxy() { cs = new CloudService(); }