Пример #1
0
        public void onPullEvent(PullToRefreshBase <V> refreshView, RefreshState ev, PullMode direction)
        {
            int?soundResIdObj = mSoundMap[ev];

            if (null != soundResIdObj)
            {
                playSound(soundResIdObj.Value);
            }
        }
 /// <summary>
 /// 监听上拉加载更多事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullUpToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         LoadMoreData();
     }
     else
     {
         lv_recordAdviceRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #3
0
 public void OnRefresh(PullToRefreshBase p0)
 {
     if (EldYoungUtil.HasLogin)
     {
         Task.Factory.StartNew(() => {
             //加载更多数据
             LoadPersonInfo();
         });
     }
     else
     {
         pull_refresh_scroll_my.OnRefreshComplete();
     }
 }
 /// <summary>
 /// 下拉刷新回调函数
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         Task.Factory.StartNew(() => {
             loadData();
         });
     }
     else
     {
         pull_refresh_scroll_finance.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #5
0
 /// <summary>
 /// 监听上拉加载更多事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullUpToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         Task.Factory.StartNew(() => {
             LoadMoreData();
         });
     }
     else
     {
         myGuardianRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
 /// <summary>
 /// 监听下拉刷新事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullDownToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         Task.Factory.StartNew(() => {
             loadData();
         });
     }
     else
     {
         otherGuardianRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #7
0
 /// <summary>
 /// 下拉刷新回调函数
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         Task.Factory.StartNew(() => {
             loadData();
         });
     }
     else
     {
         lv_bankCards.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #8
0
 /// <summary>
 /// 监听上拉加载更多事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullUpToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing = true;
         Task.Factory.StartNew(() => {
             //加载更多数据
             LoadMoreData();
         });
     }
     else
     {
         lv_dealRecords.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #9
0
 /// <summary>
 /// 监听上拉加载更多事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullUpToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         btnSearchFlag = false;
         Task.Factory.StartNew(() => {
             //加载更多数据
             LoadMoreData();
         });
     }
     else
     {
         otherhealthRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #10
0
 /// <summary>
 /// 监听下拉刷新事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullDownToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing  = true;
         btnSearchFlag = false;
         Task.Factory.StartNew(() => {
             loadData();
         });
     }
     else
     {
         myAlarmRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
Пример #11
0
 /// <summary>
 /// 监听下拉刷新事件
 /// </summary>
 /// <param name="p0">P0.</param>
 public void OnPullDownToRefresh(PullToRefreshBase p0)
 {
     if (!IsRefreshing)
     {
         IsRefreshing  = true;
         btnSearchFlag = false;
         //p0.GetLoadingLayoutProxy(true,false).SetLastUpdatedLabel(string.Format("上次刷新:{0:t}",DateTime.Now));
         Task.Factory.StartNew(() => {
             loadData();
         });
     }
     else
     {
         myhealthRefreshListView.OnRefreshComplete();
         IsRefreshing = false;
     }
 }
		/// <summary>
		/// 下拉刷新回调函数
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				Task.Factory.StartNew (() => {
					loadData();
				});
			} else {
				pull_refresh_scroll_finance.OnRefreshComplete ();
				IsRefreshing = false;
			}
		}
Пример #13
0
 public void OnRefresh(PullToRefreshBase p0)
 {
     Task.Factory.StartNew(() => {
         loadData();
     });
 }
Пример #14
0
		/// <summary>
		/// 下拉刷新回调函数
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				Task.Factory.StartNew (() => {
					loadData();
				});
			} else {
				lv_bankCards.OnRefreshComplete ();
				IsRefreshing = false;

			}
		}
		/// <summary>
		/// 监听下拉刷新事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullDownToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				btnSearchFlag = false;
				Task.Factory.StartNew (() => {
					loadData ();
				});
			} else {
				otherhealthRefreshListView.OnRefreshComplete ();
				IsRefreshing = false;
			}
		}
		/// <summary>
		/// 监听上拉加载更多事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullUpToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				LoadMoreData ();
			} else {
				lv_recordAdviceRefreshListView.OnRefreshComplete ();
				IsRefreshing = false;
			}

		}
Пример #17
0
		/// <summary>
		/// 监听上拉加载更多事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullUpToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				Task.Factory.StartNew (() => {
					//加载更多数据
					LoadMoreData ();
				});
			} else {
				lv_dealRecords.OnRefreshComplete ();
				IsRefreshing = false;
			}

		}
Пример #18
0
		/// <summary>
		/// 监听上拉加载更多事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullUpToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				Task.Factory.StartNew (() => {
					LoadMoreData ();
				});
			} else {
				myGuardianRefreshListView.OnRefreshComplete ();
				IsRefreshing = false;
			}


		}
		public void OnRefresh (PullToRefreshBase p0)
		{
			Task.Factory.StartNew (() => {
				loadData();
			});

		}
		/// <summary>
		/// 监听上拉加载更多事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullUpToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				btnSearchFlag = false;
				Task.Factory.StartNew (() => {
					//加载更多数据
					LoadMoreData ();
				});
			} else {
				otherAlarmRefreshListView.OnRefreshComplete ();
				IsRefreshing = false;
			}

		}
Пример #21
0
		/// <summary>
		/// 监听下拉刷新事件
		/// </summary>
		/// <param name="p0">P0.</param>
		public void OnPullDownToRefresh (PullToRefreshBase p0)
		{
			if (!IsRefreshing) {
				IsRefreshing = true;
				btnSearchFlag = false;
				//p0.GetLoadingLayoutProxy(true,false).SetLastUpdatedLabel(string.Format("上次刷新:{0:t}",DateTime.Now));
				Task.Factory.StartNew (() => {
					loadData ();
				});
			} else {
				myhealthRefreshListView.OnRefreshComplete ();
				IsRefreshing = false;
			}

		}