//Refresh private void SwipeRefreshLayoutOnRefresh(object sender, EventArgs e) { try { MAdapter.SuggestionsList.Clear(); MAdapter.NotifyDataSetChanged(); StartApiService(); } catch (Exception exception) { Console.WriteLine(exception); } }
//Refresh private void SwipeRefreshLayoutOnRefresh(object sender, EventArgs e) { try { MainScrollEvent.IsLoading = false; MAdapter.UserList.Clear(); MAdapter.NotifyDataSetChanged(); StartApiService(); } catch (Exception exception) { Console.WriteLine(exception); } }
public void OnRefresh() { try { SuggestionsAdapter.SuggestionsList.Clear(); SuggestionsAdapter.NotifyDataSetChanged(); ExploreAdapter.FeaturedList.Clear(); ExploreAdapter.NotifyDataSetChanged(); StartApiService(); } catch (Exception e) { Console.WriteLine(e); } }