Commit 8e420aa4 authored by Achilles's avatar Achilles

add mask when model loading

parent eb0e8970
......@@ -4,6 +4,7 @@
#import "VankeFloorDetailBoardPhoto_iPhone.h"
#import "PullLoader.h"
#import "FootLoader.h"
#import "GEToast.h"
#import "VankeBusinessChartCell_iPhone.h"
#pragma mark - VankeFloorDetailBoard_iPhone
......@@ -146,12 +147,14 @@ ON_DID_DISAPPEAR( signal )
ON_SIGNAL3( VankeSaleVolumeModel, RELOADING, signal )
{
[GEToast showProgress:self.view];
self.list.headerLoading = YES;
self.list.footerLoading = YES;
}
ON_SIGNAL3( VankeSaleVolumeModel, RELOADED, signal )
{
[GEToast hideProgress];
self.list.headerLoading = NO;
self.list.footerLoading = NO;
self.list.footerMore = NO;
......
......@@ -4,6 +4,7 @@
#import "PullLoader.h"
#import "FootLoader.h"
#import "VankeUtil.h"
#import "GEToast.h"
#import "NoDataCell_iPhoneCell.h"
#import "VankeProjectListAPI.h"
#import "VankeFloorDetailBoard_iPhone.h"
......@@ -103,6 +104,9 @@ ON_CREATE_VIEWS( signal )
}
}
};
self.list.whenReloaded = ^
{
};
self.list.whenAnimated = ^
{
......@@ -198,12 +202,14 @@ ON_SIGNAL3( VankeFloorListBoardCell_iPhone, mask, signal )
ON_SIGNAL3( VankeProjectListModel, RELOADING, signal )
{
[GEToast showProgress:self.view];
self.list.headerLoading = YES;
self.list.footerLoading = YES;
}
ON_SIGNAL3( VankeProjectListModel, RELOADED, signal )
{
[GEToast hideProgress];
self.list.headerLoading = NO;
self.list.footerLoading = NO;
self.list.footerMore = self.model.more;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment