ClearAndReload() public method

public ClearAndReload ( ) : Task
return Task
Exemplo n.º 1
0
        public async override void OnNavigatedTo(HBNavigationEventArgs e)
        {
            try
            {
                var board = e.Parameter as Board;
                if (board == null || board == CurrentBoard)
                {
                    return;
                }

                CurrentBoard = await Context.API.BoardAPI.GetBoard(board.board_id);

                await PinListViewModel.ClearAndReload();
            }
            catch (Exception ex)
            { }
        }
Exemplo n.º 2
0
        public async override void Inited()
        {
            base.Inited();

            IsLoading = true;

            try
            {
                await CategoryList.LoadMoreItemsAsync(0);

                CurrentCategory = CategoryList[0];
                await PinListViewModel.ClearAndReload();
            }
            catch (Exception ex)
            { }
            finally
            {
                IsLoading = false;
            }
        }
Exemplo n.º 3
0
 public async override void Inited()
 {
     base.Inited();
     await PinListViewModel.ClearAndReload();
 }