public async void GetUserChats() { var chats = await _chat.GetUserChats(); if (ReferenceEquals(chats, null)) { ChatList = new ObservableCollection <ChatListModel>(); } else { ChatList = new ObservableCollection <ChatListModel>(chats); } Client.GetSavedMedia(chats); }