|
@@ -58,7 +58,7 @@ namespace GFGGame
|
|
|
// private List<PoemGalleryData> _galleryDatas = new List<PoemGalleryData>();
|
|
|
private List<long> _galleryDatas = new List<long>();
|
|
|
private int _sortType = 0;//由GallerySortType定义
|
|
|
- private int _pageCount = 10;
|
|
|
+
|
|
|
private int _lastListCount = 0;
|
|
|
private int _lastList1Count = 0;
|
|
|
private int _lastGalleryDatasCount = 0;
|
|
@@ -378,7 +378,7 @@ namespace GFGGame
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, startIndex, _pageCount);
|
|
|
+ bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, startIndex, PoemGalleryDataManager.pageCount);
|
|
|
if (result)
|
|
|
{
|
|
|
Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, startIndex, UpdateGalleryList));
|
|
@@ -629,7 +629,7 @@ namespace GFGGame
|
|
|
isPullDown = true;
|
|
|
_comScroll.scrollPane.LockHeader(header.sourceHeight);
|
|
|
|
|
|
- bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, 0, _pageCount);
|
|
|
+ bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, 0, PoemGalleryDataManager.pageCount);
|
|
|
// OnPullDownTimeComplete();
|
|
|
if (result)
|
|
|
{
|
|
@@ -664,7 +664,7 @@ namespace GFGGame
|
|
|
isPullUp = true;
|
|
|
_comScroll.scrollPane.LockFooter(footer.sourceHeight + 10);
|
|
|
|
|
|
- bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, _galleryDatas.Count, _pageCount);
|
|
|
+ bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, _galleryDatas.Count, PoemGalleryDataManager.pageCount);
|
|
|
// OnPullUpTimeComplete();
|
|
|
if (result)
|
|
|
{
|