From 3df944d30530be8dc0ea1cbe1ed4afc22eb160a5 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期四, 06 二月 2025 11:09:48 +0800 Subject: [PATCH] 1.添加数据更新功能,确保本地没有数据时再获取基础数据 2.地图界面上添加滚动功能的控件(部分功能) --- app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java | 45 +++++++++++++++++++++++++++++++++++---------- 1 files changed, 35 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java index 32f489e..ab5e23b 100644 --- a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java +++ b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java @@ -32,9 +32,16 @@ //涓婁紶鍚庣殑id String postId; //涓婁紶鍚庣殑鍦板潃 - String webPath; +// String webPath; + //涓婁紶鍚庤繑鍥炵殑鏂囦欢鍦ㄦ湇鍔$瀛樺偍鐩稿璺緞 + String uoloadFilePath; + //涓婁紶鍚庣殑鍝堝笇鍊� + int hash; + //涓婁紶鍚庣殑缂╃暐鍥� + String webPathZip; + //褰撳墠璇锋眰 - Call<BaseResponse> thisCall; + Call<BaseResponse<UploadFileResult>> thisCall; //鍥剧墖涓婁紶杩涘害 int progress; //adapter涓殑position @@ -43,6 +50,30 @@ int uploadType; //鎵╁睍鍚� String extName; + + public String getUoloadFilePath() { + return uoloadFilePath; + } + + public void setUoloadFilePath(String uoloadFilePath) { + this.uoloadFilePath = uoloadFilePath; + } + + public int getHash() { + return hash; + } + + public void setHash(int hash) { + this.hash = hash; + } + + public String getWebPathZip() { + return webPathZip; + } + + public void setWebPathZip(String webPathZip) { + this.webPathZip = webPathZip; + } public String getExtName() { return extName; @@ -77,11 +108,11 @@ } - public Call<BaseResponse> getThisCall() { + public Call<BaseResponse<UploadFileResult>> getThisCall() { return thisCall; } - public void setThisCall(Call<BaseResponse> thisCall) { + public void setThisCall(Call<BaseResponse<UploadFileResult>> thisCall) { this.thisCall = thisCall; } @@ -121,11 +152,5 @@ this.postId = postId; } - public String getWebPath() { - return webPath; - } - public void setWebPath(String webPath) { - this.webPath = webPath; - } } -- Gitblit v1.8.0