개정판 0cda2a88
ID | 0cda2a885008c0503d20d124631932685c72d462 |
상위 | b4b23404 |
하위 | 65d2042f, 2c629eec, 4cb62752, 71208c63, 606884bf, 64374bd8, 7f8a2ff4, 20ef6ffe, b2c6901f, 2c3eae15, 77190232, 6b24246c |
markus 성능개선
- 일정 페이지범위를 local 저장소에 저장
- Markup데이터를 페이지 로딩전 미리 로드
Change-Id: Ib6ef3d770a360c40acf01d6de04668bee653eee4
KCOM/Controls/PageNavigator.xaml.cs | ||
---|---|---|
78 | 78 |
//tmStart = false; |
79 | 79 |
//tm.Stop(); |
80 | 80 |
//tm.Tick -= new EventHandler(tm_Tick); |
81 |
int _PageNo = -1; |
|
82 | 81 |
|
83 |
if (this.CurrentPage != null)
|
|
82 |
System.Threading.Tasks.Task.Factory.StartNew(() =>
|
|
84 | 83 |
{ |
85 |
_PageNo = this.CurrentPage.PageNumber; |
|
86 |
}; |
|
87 | 84 |
|
88 |
if (_PageNo != (ImgListbox.SelectedItem as ThumbnailItem).PageNumber) |
|
89 |
{ |
|
90 |
GotoPage((ImgListbox.SelectedItem as ThumbnailItem).PageNumber); |
|
91 |
} |
|
85 |
int _PageNo = -1; |
|
86 |
|
|
87 |
if (this.CurrentPage != null) |
|
88 |
{ |
|
89 |
_PageNo = this.CurrentPage.PageNumber; |
|
90 |
}; |
|
91 |
|
|
92 |
if (_PageNo != (ImgListbox.SelectedItem as ThumbnailItem).PageNumber) |
|
93 |
{ |
|
94 |
GotoPage((ImgListbox.SelectedItem as ThumbnailItem).PageNumber); |
|
95 |
} |
|
96 |
|
|
97 |
}).RunAndForget(); |
|
92 | 98 |
} |
93 | 99 |
|
94 | 100 |
public bool GotoPageFlag = false; |
내보내기 Unified diff