public override void OnViewRecycled (Java.Lang.Object holder)
		{
			if (holder.GetType () == typeof(Product_ViewHolder)) {

				var h = holder as Product_ViewHolder;

				//untuk clear balik += time mula2 declare
				h.View.Click -= Product_Click;

				Log.Debug ("Recycled Debug", "OnViewRecycled entered...");
				base.OnViewRecycled (holder);
			}
		}
		public override void OnViewRecycled (Java.Lang.Object holder)
		{
			if (holder.GetType () == typeof(MyVote_ViewHolder)) {
				
				var vh = holder as MyVote_ViewHolder;

				//untuk clear balik += time mula2 declare
				vh.IVDetail.Click -= IVDetail_Click;
				vh.IVPoster.Click -= IVPoster_Click;
				vh.IVVote.Click -= IVVote_Click;

				Log.Debug ("Recycled Debug", "OnViewRecycled entered...");
				base.OnViewRecycled (holder);
			}
		}
示例#3
0
        private ExceptionInfo ConvertThrowable (Java.Lang.Throwable ex)
        {
            var type = ex.GetType ();

            return new ExceptionInfo () {
                Name = type.Name,
                Message = ex.LocalizedMessage,
                Stack = ex.GetStackTrace ().Select ((frame) => new StackInfo () {
                    Method = String.Format ("{0}:{1}", frame.ClassName, frame.MethodName),
                    File = frame.FileName ?? "Unknown",
                    Line = frame.LineNumber,
                    InProject = IsInProject (frame.ClassName),
                }).ToList (),
            };
        }