개정판 122914ba
issue #000: PageChange 속도 check 상세 log 추가
Change-Id: I2fb31563f35b2c84696aec3f93641435bc91acf7
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
131 | 131 |
|
132 | 132 |
private void SetCommentPages_Favorite() |
133 | 133 |
{ |
134 |
Logger.sendCheckLog("SetCommentPages_Favorite", 1); |
|
135 | 134 |
ThumbnailSet(); |
136 | 135 |
//_UsersCommentPagesList |
137 | 136 |
//var result = (from A in _UsersCommentPagesList |
... | ... | |
428 | 427 |
} |
429 | 428 |
public void SetCommentPages() |
430 | 429 |
{ |
431 |
Logger.sendCheckLog("SetCommentPages", 1); |
|
432 | 430 |
ThumbnailSet(); |
433 | 431 |
SetCommentList(_UsersCommentPagesList.ToList()); |
434 | 432 |
} |
... | ... | |
436 | 434 |
public void SetCommentList(List<UsersCommentPagesMember> UsersCommentPagesList) |
437 | 435 |
{ |
438 | 436 |
Logger.sendCheckLog("SetCommentList", 1); |
437 |
Logger.sendCheckLog("SetCommentList_기존 Comment 색상 제거", 1); |
|
439 | 438 |
#region 기존 색상 제거 작업 |
440 | 439 |
foreach (var item in this._thumbnailItems) |
441 | 440 |
{ |
442 | 441 |
item.DisplayColorItems.Clear(); |
443 |
}
|
|
442 |
} |
|
444 | 443 |
#endregion |
445 | 444 |
|
446 |
|
|
447 |
|
|
445 |
Logger.sendCheckLog("SetCommentList_delItem select 및 remove", 1); |
|
448 | 446 |
List<UsersCommentPagesMember> _delItem = new List<UsersCommentPagesMember>(); |
449 | 447 |
|
450 | 448 |
_UsersCommentPagesList.ToList().ForEach(item => |
... | ... | |
459 | 457 |
|
460 | 458 |
_delItem.ForEach(f => _UsersCommentPagesList.Remove(f)); |
461 | 459 |
|
460 |
Logger.sendCheckLog("SetCommentList_UsersCommentPagesMember_PropertyChanged", 1); |
|
462 | 461 |
UsersCommentPagesList.ForEach(user => |
463 | 462 |
{ |
464 | 463 |
user.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(user_PropertyChanged); |
... | ... | |
486 | 485 |
}); |
487 | 486 |
|
488 | 487 |
|
489 |
|
|
488 |
Logger.sendCheckLog("SetCommentList_SelectComment.ItemsSource 설정", 1); |
|
490 | 489 |
var data = _UsersCommentPagesList.OrderByDescending(p => p.isConSolidation == Convert.ToInt32(true)).ToList(); |
491 | 490 |
if (data.Count() != 0) |
492 | 491 |
{ |
... | ... | |
506 | 505 |
this.lstSelectComment.ItemsSource = _UsersCommentPagesList; //섬네일 |
507 | 506 |
} |
508 | 507 |
//this.ImgListbox.ItemsSource = null; |
508 |
Logger.sendCheckLog("SetCommentList_ImgListbox 설정", 1); |
|
509 | 509 |
this.ImgListbox.ItemsSource = this._thumbnailItems; |
510 | 510 |
var template = this.ImgListbox.ItemTemplate; |
511 | 511 |
this.ImgListbox.ItemTemplate = null; |
512 | 512 |
this.ImgListbox.ItemTemplate = template; |
513 |
Logger.sendCheckLog("SetCommentList_ImgListbox UpdateLayout", 1); |
|
513 | 514 |
this.ImgListbox.UpdateLayout(); |
514 | 515 |
} |
515 | 516 |
|
내보내기 Unified diff