This commit is contained in:
wangcongtao
2020-01-16 22:42:24 +08:00
parent 6a413a05e5
commit 605bb63aea
139 changed files with 86 additions and 75 deletions

View File

@@ -466,7 +466,7 @@ public class MogoServiceProvider implements IMogoModuleProvider,
}
Logger.d( TAG, mAutoRefreshCallback == callback ? "触发自动刷新" : "触发手动刷新" );
Logger.i( TAG, "刷新半径 = %d, 点 = %s", radius, latLng );
mRefreshModel.refreshData( latLng, radius, callback );
mRefreshModel.refreshData( latLng, radius, mLastZoomLevel >= 10 ? 5 : 10, callback );
}
@Override

View File

@@ -52,7 +52,7 @@ public class RefreshModel {
}
}
public void refreshData(MogoLatLng latLng, int radius, final RefreshCallback callback) {
public void refreshData(MogoLatLng latLng, int radius, int limit, final RefreshCallback callback) {
if (mRefreshApiService != null) {
final Map<String, Object> query = new ParamsProvider.Builder(mContext).build();
final RefreshBody refreshBody = new RefreshBody();