//Refresh
        private void SwipeRefreshLayoutOnRefresh(object sender, EventArgs e)
        {
            try
            {
                MAdapter.SuggestionsList.Clear();
                MAdapter.NotifyDataSetChanged();

                StartApiService();
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception);
            }
        }
Ejemplo n.º 2
0
        //Refresh
        private void SwipeRefreshLayoutOnRefresh(object sender, EventArgs e)
        {
            try
            {
                MainScrollEvent.IsLoading = false;

                MAdapter.UserList.Clear();
                MAdapter.NotifyDataSetChanged();

                StartApiService();
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception);
            }
        }
Ejemplo n.º 3
0
        public void OnRefresh()
        {
            try
            {
                SuggestionsAdapter.SuggestionsList.Clear();
                SuggestionsAdapter.NotifyDataSetChanged();

                ExploreAdapter.FeaturedList.Clear();
                ExploreAdapter.NotifyDataSetChanged();

                StartApiService();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }